]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/issue-60564.stderr
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / type-alias-impl-trait / issue-60564.stderr
1 error: non-defining opaque type use in defining scope
2   --> $DIR/issue-60564.rs:20:9
3    |
4 LL |         (0u8..n).rev().map(move |shift| ((self >> T::from(shift)) & T::from(1)).try_into().unwrap())
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: used non-generic type `u8` for generic parameter
8   --> $DIR/issue-60564.rs:8:25
9    |
10 LL | type IterBitsIter<T, E, I> = impl std::iter::Iterator<Item = I>;
11    |                         ^
12
13 error: aborting due to previous error
14