2025-01-10 20:09:10 +00:00
|
|
|
error: vtable entries: [
|
2021-10-13 13:58:41 +00:00
|
|
|
MetadataDropInPlace,
|
|
|
|
|
MetadataSize,
|
|
|
|
|
MetadataAlign,
|
2025-01-10 20:09:10 +00:00
|
|
|
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)),
|
2021-10-13 13:58:41 +00:00
|
|
|
]
|
2025-01-10 20:09:10 +00:00
|
|
|
--> $DIR/vtable-dyn-incompatible.rs:11:1
|
2021-09-01 00:49:14 +01:00
|
|
|
|
|
2025-01-10 20:09:10 +00:00
|
|
|
LL | type Test = dyn A<Item=u8>;
|
|
|
|
|
| ^^^^^^^^^
|
2021-09-01 00:49:14 +01:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-09-01 00:49:14 +01:00
|
|
|
|