]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/trait-bounds-not-on-impl.stderr
Auto merge of #61361 - estebank:infer-type, r=varkor
[rust.git] / src / test / ui / parser / trait-bounds-not-on-impl.stderr
1 error: expected a trait, found type
2   --> $DIR/trait-bounds-not-on-impl.rs:5:6
3    |
4 LL | impl Foo + Owned for Bar {}
5    |      ^^^^^^^^^^^
6
7 error: aborting due to previous error
8