summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lifetimes/issue-83753-invalid-associated-type-supertrait-hrtb.stderr
blob: f7bdee6336e2d3eb527ac66de3adf46d7b7329a8 (plain)
1
2
3
4
5
6
7
8
9
error[E0229]: associated type bindings are not allowed here
  --> $DIR/issue-83753-invalid-associated-type-supertrait-hrtb.rs:5:21
   |
LL |     fn bar(foo: Foo<Target = usize>) {}
   |                     ^^^^^^^^^^^^^^ associated type not allowed here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0229`.