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