summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/vtable/vtable-diamond.stderr
blob: f3718c5d852f0b2fbf221797aa230db641daad2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
error: vtable entries for `<S as D>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as A>::foo_a),
           Method(<S as B>::foo_b),
           Method(<S as C>::foo_c),
           TraitVPtr(<S as C>),
           Method(<S as D>::foo_d),
       ]
  --> $DIR/vtable-diamond.rs:21:1
   |
LL | trait D: B + C {
   | ^^^^^^^^^^^^^^

error: vtable entries for `<S as C>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as A>::foo_a),
           Method(<S as C>::foo_c),
       ]
  --> $DIR/vtable-diamond.rs:15:1
   |
LL | trait C: A {
   | ^^^^^^^^^^

error: aborting due to 2 previous errors