2021-07-22 23:29:53 +08:00
|
|
|
error: Vtable entries for `<S as B>`: [
|
|
|
|
MetadataDropInPlace,
|
|
|
|
MetadataSize,
|
|
|
|
MetadataAlign,
|
|
|
|
Method(<S as A>::foo_a1),
|
|
|
|
Vacant,
|
|
|
|
Method(<S as B>::foo_b1),
|
|
|
|
Vacant,
|
|
|
|
]
|
2021-09-01 00:49:14 +01:00
|
|
|
--> $DIR/vtable-vacant.rs:15:1
|
2021-07-22 23:29:53 +08:00
|
|
|
|
|
|
|
|
LL | / trait B: A {
|
|
|
|
LL | |
|
|
|
|
LL | | fn foo_b1(&self) {}
|
2021-09-01 00:49:14 +01:00
|
|
|
LL | | fn foo_b2(&self) where Self: Send {}
|
2021-07-22 23:29:53 +08:00
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|