Files
rust/tests/ui/parser/equality-predicates-0.stderr
2026-06-07 19:00:21 +02:00

16 lines
448 B
Plaintext

error: general type equality constraints are not supported
--> $DIR/equality-predicates-0.rs:14:5
|
LL | T::Item = u8
| ^^^^^^^^^^^^ not supported
|
= note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
help: replace it with an associated item constraint if possible
|
LL - T::Item = u8
LL + T: /* Trait */</* ... */Item = u8>
|
error: aborting due to 1 previous error