about summary refs log tree commit diff
path: root/tests/ui/traits/vtable/vtable-diamond.stderr
blob: 4644bf339b17d93eb6b9fd46e09c7054692e7083 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
error: vtable entries: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as A>::foo_a),
       ]
  --> $DIR/vtable-diamond.rs:22:1
   |
LL | impl A for S {}
   | ^^^^^^^^^^^^

error: vtable entries: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as A>::foo_a),
           Method(<S as B>::foo_b),
       ]
  --> $DIR/vtable-diamond.rs:26:1
   |
LL | impl B for S {}
   | ^^^^^^^^^^^^

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

error: vtable entries: [
           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:34:1
   |
LL | impl D for S {}
   | ^^^^^^^^^^^^

error: aborting due to 4 previous errors