blob: a58fa5cd7115ade55f54a28413856e1a6532accb [file] [log] [blame] [edit]
error: at least one trait must be specified
--> $DIR/no-trait.rs:1:11
|
LL | fn f() -> impl 'static {}
| ^^^^^^^^^^^^
error: aborting due to 1 previous error