blob: 9e7a0b767239a451523841fdb2e21d86382f9968 [file] [edit]
error: general type equality constraints are not supported
--> $DIR/equality-predicates-1.rs:14:5
|
LL | <T as Iterator>::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 as Iterator>::Item == u8
LL + T: Iterator<Item = u8>
|
error: aborting due to 1 previous error