]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-eq-2.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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`.