about summary refs log tree commit diff
path: root/tests/ui/traits/trait-upcasting/multiple-supertraits-modulo-normalization-vtable.stderr
blob: 04b1afae7becada0f7815b7167f92236fbe6c2a2 (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
error: vtable entries: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<() as Supertrait<()>>::_print_numbers),
           Method(<() as Middle<()>>::say_hello),
       ]
  --> $DIR/multiple-supertraits-modulo-normalization-vtable.rs:29:1
   |
LL | impl Trait for () {}
   | ^^^^^^^^^^^^^^^^^

error: vtable entries: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<dyn Middle<()> as Supertrait<()>>::_print_numbers - shim(reify)),
           Method(<dyn Middle<()> as Middle<()>>::say_hello - shim(reify)),
       ]
  --> $DIR/multiple-supertraits-modulo-normalization-vtable.rs:33:1
   |
LL | type Virtual = dyn Middle<()>;
   | ^^^^^^^^^^^^

error: aborting due to 2 previous errors