]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-83753-invalid-associated-type-supertrait-hrtb.rs
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[rust.git] / src / test / ui / lifetimes / issue-83753-invalid-associated-type-supertrait-hrtb.rs
1 // check-fail
2
3 struct Foo {}
4 impl Foo {
5     fn bar(foo: Foo<Target = usize>) {}
6     //~^ associated type bindings are not allowed here
7 }
8 fn main() {}