]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/trait-bounds-not-on-impl.rs
Point (again) to more expressions with their type, even if not fully resolved
[rust.git] / src / test / ui / parser / trait-bounds-not-on-impl.rs
1 trait Foo {}
2
3 struct Bar;
4
5 impl Foo + Owned for Bar {} //~ ERROR expected a trait, found type
6
7 fn main() { }