summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/trait-bounds-not-on-impl.rs
blob: 02563847ef32694e055ea88466bb3e2b0a32bd49 (plain)
1
2
3
4
5
6
7
trait Foo {}

struct Bar;

impl Foo + Owned for Bar {} //~ ERROR expected a trait, found type

fn main() { }