]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/trait-bounds-not-on-impl.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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() { }