summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/vtable/multiple-markers.stderr
blob: 4497c703ae8a1102fcc59233f634be6923c0b088 (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 for `<S as A>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as T>::method),
       ]
  --> $DIR/multiple-markers.rs:21:1
   |
LL | trait A: M0 + M1 + M2 + T {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: vtable entries for `<S as B>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as T>::method),
           TraitVPtr(<S as M2>),
       ]
  --> $DIR/multiple-markers.rs:24:1
   |
LL | trait B: M0 + M1 + T + M2 {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: vtable entries for `<S as C>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as T>::method),
           TraitVPtr(<S as M1>),
           TraitVPtr(<S as M2>),
       ]
  --> $DIR/multiple-markers.rs:27:1
   |
LL | trait C: M0 + T + M1 + M2 {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: vtable entries for `<S as D>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<S as T>::method),
           TraitVPtr(<S as M0>),
           TraitVPtr(<S as M1>),
           TraitVPtr(<S as M2>),
       ]
  --> $DIR/multiple-markers.rs:30:1
   |
LL | trait D: T + M0 + M1 + M2 {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors