1 error: at least one trait must be specified
2 --> $DIR/type-alias-impl-trait-with-no-traits.rs:3:12
4 LL | type Foo = impl 'static;
7 error: at least one trait must be specified
8 --> $DIR/type-alias-impl-trait-with-no-traits.rs:10:13
10 LL | fn bar() -> impl 'static {
13 error: aborting due to 2 previous errors