]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issue-55872.full_tait.stderr
Rollup merge of #82434 - jyn514:hash, r=JohnTitor
[rust.git] / src / test / ui / impl-trait / issue-55872.full_tait.stderr
1 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2   --> $DIR/issue-55872.rs:5:32
3    |
4 LL | #![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
10 error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
11   --> $DIR/issue-55872.rs:17:28
12    |
13 LL |       fn foo<T>() -> Self::E {
14    |  ____________________________^
15 LL | |
16 LL | |         || ()
17 LL | |     }
18    | |_____^
19
20 error: aborting due to previous error; 1 warning emitted
21