You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below is a normalizes-to pred. In the body of foo, <T as Iterator>::Item normalizes-to <T as Iterator>::Item is false.
error[E0271]: type mismatch resolving `<T as Iterator>::Item == <T as Iterator>::Item`
--> <source>:6:35
|
6 | let _: Option<T::Item> = next(t);
| ---- ^ types differ
| |
| required by a bound introduced by this call
|
note: required by a bound in `next`
--> <source>:1:21
|
1 | fn next<T: Iterator<Item = U>, U>(t: &mut T) -> Option<U> {
| ^^^^^^^^ required by this bound in `next`
error: aborting due to previous error
The text was updated successfully, but these errors were encountered:
The below is a normalizes-to pred. In the body of
foo
,<T as Iterator>::Item normalizes-to <T as Iterator>::Item
is false.The text was updated successfully, but these errors were encountered: