blob: cf96c8cf8eb9d3a21a899a0012b458a5c8cc9a31 [file] [log] [blame] [edit]
error[E0229]: associated item constraints are not allowed here
--> $DIR/issue-102335-const.rs:4:17
|
LL | type A: S<C<X = 0i32> = 34>;
| ^^^^^^^^ associated item constraint not allowed here
|
help: consider removing this associated item binding
|
LL - type A: S<C<X = 0i32> = 34>;
LL + type A: S<C = 34>;
|
error[E0229]: associated item constraints are not allowed here
--> $DIR/issue-102335-const.rs:4:17
|
LL | type A: S<C<X = 0i32> = 34>;
| ^^^^^^^^ associated item constraint not allowed here
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
help: consider removing this associated item binding
|
LL - type A: S<C<X = 0i32> = 34>;
LL + type A: S<C = 34>;
|
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0229`.