rust/src/test/ui/traits/vtable/vtable-multiple.stderr

34 lines
624 B
Plaintext
Raw Normal View History

2021-10-03 01:53:02 -05:00
error: vtable entries for `<S as C>`: [
2021-07-17 02:44:19 -05:00
MetadataDropInPlace,
MetadataSize,
MetadataAlign,
Method(<S as A>::foo_a),
Method(<S as B>::foo_b),
TraitVPtr(<S as B>),
Method(<S as C>::foo_c),
2021-07-17 02:44:19 -05:00
]
--> $DIR/vtable-multiple.rs:16:1
|
LL | / trait C: A + B {
LL | |
LL | | fn foo_c(&self) {}
LL | | }
| |_^
2021-07-17 02:44:19 -05:00
2021-10-03 01:53:02 -05:00
error: vtable entries for `<S as B>`: [
2021-07-17 02:44:19 -05:00
MetadataDropInPlace,
MetadataSize,
MetadataAlign,
Method(<S as B>::foo_b),
2021-07-17 02:44:19 -05:00
]
--> $DIR/vtable-multiple.rs:10:1
|
LL | / trait B {
LL | |
LL | | fn foo_b(&self) {}
LL | | }
| |_^
2021-07-17 02:44:19 -05:00
error: aborting due to 2 previous errors