mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
30 lines
710 B
Plaintext
30 lines
710 B
Plaintext
error: vtable entries for `<S as D>`: [
|
|
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),
|
|
]
|
|
--> $DIR/vtable-diamond.rs:21:1
|
|
|
|
|
LL | trait D: B + C {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: vtable entries for `<S as C>`: [
|
|
MetadataDropInPlace,
|
|
MetadataSize,
|
|
MetadataAlign,
|
|
Method(<S as A>::foo_a),
|
|
Method(<S as C>::foo_c),
|
|
]
|
|
--> $DIR/vtable-diamond.rs:15:1
|
|
|
|
|
LL | trait C: A {
|
|
| ^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|