]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/issue-60564.full_tait.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / issue-60564.full_tait.stderr
CommitLineData
6a06907d
XL
1warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-60564.rs:3:32
3 |
4LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5 | ^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
9
10error: non-defining opaque type use in defining scope
11 --> $DIR/issue-60564.rs:22:34
12 |
13LL | fn iter_bits(self, n: u8) -> Self::BitsIter {
14 | ^^^^^^^^^^^^^^
15 |
16note: used non-generic type `u8` for generic parameter
17 --> $DIR/issue-60564.rs:11:25
18 |
19LL | type IterBitsIter<T, E, I> = impl std::iter::Iterator<Item = I>;
20 | ^
21
22error: aborting due to previous error; 1 warning emitted
23