diff options
Diffstat (limited to 'tests/ui/traits/vtable/vtable-multiple.stderr')
-rw-r--r-- | tests/ui/traits/vtable/vtable-multiple.stderr | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/ui/traits/vtable/vtable-multiple.stderr b/tests/ui/traits/vtable/vtable-multiple.stderr new file mode 100644 index 000000000..0dcd84433 --- /dev/null +++ b/tests/ui/traits/vtable/vtable-multiple.stderr @@ -0,0 +1,27 @@ +error: vtable entries for `<S as C>`: [ + MetadataDropInPlace, + MetadataSize, + MetadataAlign, + Method(<S as A>::foo_a), + Method(<S as B>::foo_b), + TraitVPtr(<S as B>), + Method(<S as C>::foo_c), + ] + --> $DIR/vtable-multiple.rs:16:1 + | +LL | trait C: A + B { + | ^^^^^^^^^^^^^^ + +error: vtable entries for `<S as B>`: [ + MetadataDropInPlace, + MetadataSize, + MetadataAlign, + Method(<S as B>::foo_b), + ] + --> $DIR/vtable-multiple.rs:10:1 + | +LL | trait B { + | ^^^^^^^ + +error: aborting due to 2 previous errors + |