2024-05-27 21:53:46 +00:00
|
|
|
error[E0229]: associated item constraints are not allowed here
|
2024-09-12 20:48:51 +00:00
|
|
|
--> $DIR/associated-constant-not-allowed-102467.rs:7:17
|
2023-09-24 12:09:38 +00:00
|
|
|
|
|
|
|
|
LL | type A: S<C<X = 0i32> = 34>;
|
2024-05-27 21:53:46 +00:00
|
|
|
| ^^^^^^^^ associated item constraint not allowed here
|
2024-04-16 05:41:50 +00:00
|
|
|
|
|
2024-05-27 21:53:46 +00:00
|
|
|
help: consider removing this associated item binding
|
2024-04-16 05:41:50 +00:00
|
|
|
|
|
2024-07-09 22:11:20 +00:00
|
|
|
LL - type A: S<C<X = 0i32> = 34>;
|
|
|
|
LL + type A: S<C = 34>;
|
|
|
|
|
|
2023-09-24 12:09:38 +00:00
|
|
|
|
2024-05-27 21:53:46 +00:00
|
|
|
error[E0229]: associated item constraints are not allowed here
|
2024-09-12 20:48:51 +00:00
|
|
|
--> $DIR/associated-constant-not-allowed-102467.rs:7:17
|
2024-03-20 16:52:54 +00:00
|
|
|
|
|
|
|
|
LL | type A: S<C<X = 0i32> = 34>;
|
2024-05-27 21:53:46 +00:00
|
|
|
| ^^^^^^^^ associated item constraint not allowed here
|
2024-03-20 16:52:54 +00:00
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2024-05-27 21:53:46 +00:00
|
|
|
help: consider removing this associated item binding
|
2024-04-16 05:41:50 +00:00
|
|
|
|
|
2024-07-09 22:11:20 +00:00
|
|
|
LL - type A: S<C<X = 0i32> = 34>;
|
|
|
|
LL + type A: S<C = 34>;
|
|
|
|
|
|
2024-03-20 16:52:54 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2023-09-24 12:09:38 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0229`.
|