rust/tests/ui/associated-types/associated-types-eq-expr-pa...

10 lines
343 B
Plaintext

error[E0229]: associated type bindings are not allowed here
--> $DIR/associated-types-eq-expr-path.rs:14:26
|
LL | let x: isize = Foo::<A=usize>::bar();
| ^^^^^^^ associated type not allowed here
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0229`.