]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/issue-60564.stderr
Auto merge of #106503 - cjgillot:remap-nofilter, r=oli-obk
[rust.git] / tests / ui / type-alias-impl-trait / issue-60564.stderr
1 error[E0792]: expected generic type parameter, found `u8`
2   --> $DIR/issue-60564.rs:20:9
3    |
4 LL | type IterBitsIter<T, E, I> = impl std::iter::Iterator<Item = I>;
5    |                         - this generic parameter must be used with a generic type parameter
6 ...
7 LL |         (0u8..n).rev().map(move |shift| ((self >> T::from(shift)) & T::from(1)).try_into().unwrap())
8    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0792`.