]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-eq-2.stderr
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / ui / associated-types / associated-types-eq-2.stderr
1 error[E0229]: associated type bindings are not allowed here
2   --> $DIR/associated-types-eq-2.rs:16:30
3    |
4 LL | fn baz<I: Foo>(x: &<I as Foo<A=Bar>>::A) {}
5    |                              ^^^^^ associated type not allowed here
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0229`.