rust/tests/ui/traits/vtable/vtable-diamond.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.2 KiB
Text
Raw Normal View History

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: [
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),
Method(<S as C>::foo_c),
]
2025-01-10 20:09:10 +00:00
--> $DIR/vtable-diamond.rs:30:1
|
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: [
MetadataDropInPlace,
MetadataSize,
MetadataAlign,
Method(<S as A>::foo_a),
2025-01-10 20:09:10 +00:00
Method(<S as B>::foo_b),
Method(<S as C>::foo_c),
2025-01-10 20:09:10 +00:00
TraitVPtr(<S as C>),
Method(<S as D>::foo_d),
]
2025-01-10 20:09:10 +00:00
--> $DIR/vtable-diamond.rs:34:1
|
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