rust/tests/ui/parser/trait-bounds-not-on-impl.stderr

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

9 lines
181 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error: expected a trait, found type
2019-05-31 20:50:04 +00:00
--> $DIR/trait-bounds-not-on-impl.rs:5:6
2018-10-20 20:36:17 +00:00
|
2019-05-31 20:50:04 +00:00
LL | impl Foo + Owned for Bar {}
2018-10-20 20:36:17 +00:00
| ^^^^^^^^^^^
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00