mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
18 lines
616 B
Plaintext
18 lines
616 B
Plaintext
error[E0229]: associated type bindings are not allowed here
|
|
--> $DIR/invalid_associated_const.rs:4:17
|
|
|
|
|
LL | type A: S<C<X = 0i32> = 34>;
|
|
| ^^^^^^^^ associated type not allowed here
|
|
|
|
error[E0229]: associated type bindings are not allowed here
|
|
--> $DIR/invalid_associated_const.rs:4:17
|
|
|
|
|
LL | type A: S<C<X = 0i32> = 34>;
|
|
| ^^^^^^^^ associated type not allowed here
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0229`.
|