mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 17:36:20 +00:00
16 lines
448 B
Plaintext
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
|
|
|