blob: 58028bd0861db0024fa60454afabfa5f7a49024e [file] [log] [blame]
error: at least one trait must be specified
--> $DIR/type-alias-impl-trait-with-no-traits.rs:3:17
|
LL | type Foo = impl 'static;
| ^^^^^^^
error: at least one trait must be specified
--> $DIR/type-alias-impl-trait-with-no-traits.rs:10:13
|
LL | fn bar() -> impl 'static {
| ^^^^^^^^^^^^
error: aborting due to 2 previous errors