about summary refs log tree commit diff
path: root/tests/ui/traits/trait-upcasting/multiple-supertraits-modulo-binder-vtable.stderr
blob: 24fa1650ca14c0195bcc89d96f5d411a07a02459 (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(<dyn for<'a> Trait<&(), &'a ()> as Supertrait<&()>>::_print_numbers - shim(reify)),
           Method(<dyn for<'a> Trait<&(), &'a ()> as Trait<&(), &()>>::say_hello - shim(reify)),
       ]
  --> $DIR/multiple-supertraits-modulo-binder-vtable.rs:20:1
   |
LL | type First = dyn for<'a> Trait<&'static (), &'a ()>;
   | ^^^^^^^^^^

error: vtable entries: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<dyn Trait<&(), &()> as Supertrait<&()>>::_print_numbers - shim(reify)),
           Method(<dyn Trait<&(), &()> as Trait<&(), &()>>::say_hello - shim(reify)),
       ]
  --> $DIR/multiple-supertraits-modulo-binder-vtable.rs:24:1
   |
LL | type Second = dyn Trait<&'static (), &'static ()>;
   | ^^^^^^^^^^^

error: aborting due to 2 previous errors