rust/tests/rustdoc-ui/associated-constant-not-allowed-102467.stderr
Noah Lev ad69a7a449 Fix rustdoc UI tests
Also removed a test that was literally a duplicate of the one I kept.
2025-11-08 13:50:48 -05:00

28 lines
935 B
Text

error[E0229]: associated item constraints are not allowed here
--> $DIR/associated-constant-not-allowed-102467.rs:8: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/associated-constant-not-allowed-102467.rs:8: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`.