]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
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-75053.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[E0658]: type alias impl trait is not permitted here | |
11 | --> $DIR/issue-75053.rs:52:15 | |
12 | | | |
13 | LL | let _pos: Phantom1<DummyT<()>> = Scope::new().my_index(); | |
14 | | ^^^^^^^^^^^^^^^^^^^^ | |
15 | | | |
16 | = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information | |
17 | = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable | |
18 | ||
19 | error: aborting due to previous error; 1 warning emitted | |
20 | ||
21 | For more information about this error, try `rustc --explain E0658`. |