about summary refs log tree commit diff
path: root/tests/ui/traits/vtable/vtable-dyn-incompatible.stderr
blob: c80a763998b1e6fb39e798b3108052e0887bee1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: vtable entries: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<dyn A<Item = u8> as Iterator>::next - shim(reify)),
           Method(<dyn A<Item = u8> as Iterator>::size_hint - shim(reify)),
           Method(<dyn A<Item = u8> as Iterator>::advance_by - shim(reify)),
           Method(<dyn A<Item = u8> as Iterator>::nth - shim(reify)),
       ]
  --> $DIR/vtable-dyn-incompatible.rs:11:1
   |
LL | type Test = dyn A<Item=u8>;
   | ^^^^^^^^^

error: aborting due to 1 previous error