]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/vtable/vtable-diamond.stderr
Rollup merge of #87354 - Wind-River:2021_master, r=kennytm
[rust.git] / src / test / ui / traits / vtable / vtable-diamond.stderr
1 error: 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    |
13 LL | / trait D: B + C {
14 LL | |
15 LL | |     fn foo_d(&self) {}
16 LL | | }
17    | |_^
18
19 error: Vtable entries for `<S as C>`: [
20     MetadataDropInPlace,
21     MetadataSize,
22     MetadataAlign,
23     Method(<S as A>::foo_a),
24     Method(<S as C>::foo_c),
25 ]
26   --> $DIR/vtable-diamond.rs:15:1
27    |
28 LL | / trait C: A {
29 LL | |
30 LL | |     fn foo_c(&self) {}
31 LL | | }
32    | |_^
33
34 error: aborting due to 2 previous errors
35