2023-02-28 18:13:21 +00:00
|
|
|
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
|
2024-04-16 05:41:50 +00:00
|
|
|
|
|
|
|
|
help: consider removing this type binding
|
|
|
|
|
|
|
|
|
LL | type A: S<C<X = 0i32> = 34>;
|
|
|
|
| ~~~~~~~~~~
|
2023-02-28 18:13:21 +00:00
|
|
|
|
2024-03-20 16:52:54 +00:00
|
|
|
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`
|
2024-04-16 05:41:50 +00:00
|
|
|
help: consider removing this type binding
|
|
|
|
|
|
|
|
|
LL | type A: S<C<X = 0i32> = 34>;
|
|
|
|
| ~~~~~~~~~~
|
2024-03-20 16:52:54 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2023-02-28 18:13:21 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0229`.
|