]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-eq-2.stderr
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[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`.