]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/unused_generic_param.full_tait.stderr
Auto merge of #82980 - tmiasko:import-cold-multiplier, r=michaelwoerister
[rust.git] / src / test / ui / type-alias-impl-trait / unused_generic_param.full_tait.stderr
1 error: at least one trait must be specified
2   --> $DIR/unused_generic_param.rs:9:28
3    |
4 LL | type PartiallyDefined<T> = impl 'static;
5    |                            ^^^^^^^^^^^^
6
7 error: at least one trait must be specified
8   --> $DIR/unused_generic_param.rs:16:29
9    |
10 LL | type PartiallyDefined2<T> = impl 'static;
11    |                             ^^^^^^^^^^^^
12
13 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
14   --> $DIR/unused_generic_param.rs:3:32
15    |
16 LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
17    |                                ^^^^^^^^^^^^^^^^^^^^^
18    |
19    = note: `#[warn(incomplete_features)]` on by default
20    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
21
22 error: aborting due to 2 previous errors; 1 warning emitted
23