summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lifetimes/issue-83753-invalid-associated-type-supertrait-hrtb.rs
blob: 7f0ea730dd37bc53bb1307cb9cc34b5bf5289860 (plain)
1
2
3
4
5
6
7
8
// check-fail

struct Foo {}
impl Foo {
    fn bar(foo: Foo<Target = usize>) {}
    //~^ associated type bindings are not allowed here
}
fn main() {}