rust/src/test/ui/error-codes/E0229.stderr

10 lines
311 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0229]: associated type bindings are not allowed here
--> $DIR/E0229.rs:23:25
|
2018-02-22 18:42:32 -06:00
LL | fn baz<I>(x: &<I as Foo<A=Bar>>::A) {}
2018-02-07 21:35:35 -06:00
| ^^^^^ associated type not allowed here
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0229`.