]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-83753-invalid-associated-type-supertrait-hrtb.rs
Rollup merge of #89538 - notriddle:notriddle/arrow-highlight, r=GuillaumeGomez
[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() {}