2025-01-10 20:09:10 +00:00
|
|
|
error: vtable entries: [
|
|
|
|
MetadataDropInPlace,
|
|
|
|
MetadataSize,
|
|
|
|
MetadataAlign,
|
|
|
|
Method(<S as A>::foo_a),
|
|
|
|
]
|
|
|
|
--> $DIR/vtable-diamond.rs:22:1
|
|
|
|
|
|
|
|
|
LL | impl A for S {}
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: vtable entries: [
|
2021-10-13 13:58:41 +00:00
|
|
|
MetadataDropInPlace,
|
|
|
|
MetadataSize,
|
|
|
|
MetadataAlign,
|
|
|
|
Method(<S as A>::foo_a),
|
|
|
|
Method(<S as B>::foo_b),
|
2025-01-10 20:09:10 +00:00
|
|
|
]
|
|
|
|
--> $DIR/vtable-diamond.rs:26:1
|
|
|
|
|
|
|
|
|
LL | impl B for S {}
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: vtable entries: [
|
|
|
|
MetadataDropInPlace,
|
|
|
|
MetadataSize,
|
|
|
|
MetadataAlign,
|
|
|
|
Method(<S as A>::foo_a),
|
2021-10-13 13:58:41 +00:00
|
|
|
Method(<S as C>::foo_c),
|
|
|
|
]
|
2025-01-10 20:09:10 +00:00
|
|
|
--> $DIR/vtable-diamond.rs:30:1
|
2021-07-18 17:23:37 +08:00
|
|
|
|
|
2025-01-10 20:09:10 +00:00
|
|
|
LL | impl C for S {}
|
|
|
|
| ^^^^^^^^^^^^
|
2021-07-17 15:44:19 +08:00
|
|
|
|
2025-01-10 20:09:10 +00:00
|
|
|
error: vtable entries: [
|
2021-10-13 13:58:41 +00:00
|
|
|
MetadataDropInPlace,
|
|
|
|
MetadataSize,
|
|
|
|
MetadataAlign,
|
|
|
|
Method(<S as A>::foo_a),
|
2025-01-10 20:09:10 +00:00
|
|
|
Method(<S as B>::foo_b),
|
2021-10-13 13:58:41 +00:00
|
|
|
Method(<S as C>::foo_c),
|
2025-01-10 20:09:10 +00:00
|
|
|
TraitVPtr(<S as C>),
|
|
|
|
Method(<S as D>::foo_d),
|
2021-10-13 13:58:41 +00:00
|
|
|
]
|
2025-01-10 20:09:10 +00:00
|
|
|
--> $DIR/vtable-diamond.rs:34:1
|
2021-07-18 17:23:37 +08:00
|
|
|
|
|
2025-01-10 20:09:10 +00:00
|
|
|
LL | impl D for S {}
|
|
|
|
| ^^^^^^^^^^^^
|
2021-07-17 15:44:19 +08:00
|
|
|
|
2025-01-10 20:09:10 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2021-07-17 15:44:19 +08:00
|
|
|
|