]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-83753-invalid-associated-type-supertrait-hrtb.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[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() {}