]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0229.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0229.stderr
1 error[E0229]: associated type bindings are not allowed here
2   --> $DIR/E0229.rs:13:25
3    |
4 LL | fn baz<I>(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`.