summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/associated-types-eq-2.stderr
blob: 23ee8cd23b5c36398070eb911fc9be0d9fa9180d (plain)
1
2
3
4
5
6
7
8
9
error[E0229]: associated type bindings are not allowed here
  --> $DIR/associated-types-eq-2.rs:16:30
   |
LL | fn baz<I: Foo>(x: &<I as Foo<A=Bar>>::A) {}
   |                              ^^^^^ associated type not allowed here

error: aborting due to previous error

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