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-52843.rs:3:32
4 LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
10 error[E0277]: the trait bound `T: Default` is not satisfied
11 --> $DIR/issue-52843.rs:6:15
13 LL | type Foo<T> = impl Default;
14 | ^^^^^^^^^^^^ the trait `Default` is not implemented for `T`
16 help: consider restricting type parameter `T`
18 LL | type Foo<T: Default> = impl Default;
21 error: aborting due to previous error; 1 warning emitted
23 For more information about this error, try `rustc --explain E0277`.