fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
710 B29 linesraw
1error: vtable entries for `<S as D>`: [
2           MetadataDropInPlace,
3           MetadataSize,
4           MetadataAlign,
5           Method(<S as A>::foo_a),
6           Method(<S as B>::foo_b),
7           Method(<S as C>::foo_c),
8           TraitVPtr(<S as C>),
9           Method(<S as D>::foo_d),
10       ]
11  --> $DIR/vtable-diamond.rs:21:1
12   |
13LL | trait D: B + C {
14   | ^^^^^^^^^^^^^^
15
16error: vtable entries for `<S as C>`: [
17           MetadataDropInPlace,
18           MetadataSize,
19           MetadataAlign,
20           Method(<S as A>::foo_a),
21           Method(<S as C>::foo_c),
22       ]
23  --> $DIR/vtable-diamond.rs:15:1
24   |
25LL | trait C: A {
26   | ^^^^^^^^^^
27
28error: aborting due to 2 previous errors
29