2021-10-03 15:53:02 +09:00
|
|
|
error: vtable entries for `<S as C>`: [
|
2021-10-13 13:58:41 +00: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-18 17:23:37 +08:00
|
|
|
--> $DIR/vtable-multiple.rs:16:1
|
|
|
|
|
|
2022-02-13 16:27:59 +01:00
|
|
|
LL | trait C: A + B {
|
|
|
|
| ^^^^^^^^^^^^^^
|
2021-07-17 15:44:19 +08:00
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
error: vtable entries for `<S as B>`: [
|
2021-10-13 13:58:41 +00:00
|
|
|
MetadataDropInPlace,
|
|
|
|
MetadataSize,
|
|
|
|
MetadataAlign,
|
|
|
|
Method(<S as B>::foo_b),
|
|
|
|
]
|
2021-07-18 17:23:37 +08:00
|
|
|
--> $DIR/vtable-multiple.rs:10:1
|
|
|
|
|
|
2022-02-13 16:27:59 +01:00
|
|
|
LL | trait B {
|
|
|
|
| ^^^^^^^
|
2021-07-17 15:44:19 +08:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|