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