rust/tests/ui/traits/vtable/vtable-non-object-safe.stderr

17 lines
550 B
Plaintext
Raw Normal View History

2021-10-03 01:53:02 -05:00
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 {}
2022-02-13 09:27:59 -06:00
| ^^^^^^^^^^^^^^^^^
error: aborting due to previous error