]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/issue-60564.stderr
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[rust.git] / src / test / ui / type-alias-impl-trait / issue-60564.stderr
1 error: non-defining opaque type use in defining scope
2   --> $DIR/issue-60564.rs:20:34
3    |
4 LL |     fn iter_bits(self, n: u8) -> Self::BitsIter {
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: could not find defining uses
14   --> $DIR/issue-60564.rs:8:30
15    |
16 LL | type IterBitsIter<T, E, I> = impl std::iter::Iterator<Item = I>;
17    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to 2 previous errors
20