diff options
Diffstat (limited to 'tests/ui/parser/trait-bounds-not-on-impl.stderr')
-rw-r--r-- | tests/ui/parser/trait-bounds-not-on-impl.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/trait-bounds-not-on-impl.stderr b/tests/ui/parser/trait-bounds-not-on-impl.stderr new file mode 100644 index 000000000..8d2d5e3d7 --- /dev/null +++ b/tests/ui/parser/trait-bounds-not-on-impl.stderr @@ -0,0 +1,8 @@ +error: expected a trait, found type + --> $DIR/trait-bounds-not-on-impl.rs:5:6 + | +LL | impl Foo + Owned for Bar {} + | ^^^^^^^^^^^ + +error: aborting due to previous error + |