]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/issue-60564.stderr
55984609437b09652f285c88aba21f48e96e8403
[rustc.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:19:34
3 |
4 LL | fn iter_bits(self, n: u8) -> Self::BitsIter {
5 | ^^^^^^^^^^^^^^
6 |
7 note: used non-generic type `_` for generic parameter
8 --> $DIR/issue-60564.rs:8:22
9 |
10 LL | type IterBitsIter<T, E, I> = impl std::iter::Iterator<Item = I>;
11 | ^
12
13 error: non-defining opaque type use in defining scope
14 --> $DIR/issue-60564.rs:19:34
15 |
16 LL | fn iter_bits(self, n: u8) -> Self::BitsIter {
17 | ^^^^^^^^^^^^^^
18 |
19 note: used non-generic type `u8` for generic parameter
20 --> $DIR/issue-60564.rs:8:25
21 |
22 LL | type IterBitsIter<T, E, I> = impl std::iter::Iterator<Item = I>;
23 | ^
24
25 error: aborting due to 2 previous errors
26