blob: 3c0346c96b2827d0ee458f9ddaa1f200b9524440 (
plain)
1
2
3
4
5
6
7
8
|
error: expected a trait, found type
--> $DIR/trait-bounds-not-on-impl.rs:8:6
|
LL | impl Foo + Owned for Bar { //~ ERROR expected a trait, found type
| ^^^^^^^^^^^
error: aborting due to previous error
|