summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/vtable/vtable-non-object-safe.stderr
blob: 9345c2711978a71bd8296c04ce8d852bbb5bc114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: vtable entries for `<std::vec::IntoIter<u8> as A>`: [
           MetadataDropInPlace,
           MetadataSize,
           MetadataAlign,
           Method(<std::vec::IntoIter<u8> as Iterator>::next),
           Method(<std::vec::IntoIter<u8> as Iterator>::size_hint),
           Method(<std::vec::IntoIter<u8> as Iterator>::advance_by),
           Method(<std::vec::IntoIter<u8> as Iterator>::nth),
       ]
  --> $DIR/vtable-non-object-safe.rs:8:1
   |
LL | trait A: Iterator {}
   | ^^^^^^^^^^^^^^^^^

error: aborting due to previous error