blob: 84ac1bd5ca4a399325e5d589801d57ab8a94aa28 (
plain)
1
2
3
4
5
6
7
8
|
error: at least one trait must be specified
--> $DIR/no-trait.rs:1:11
|
LL | fn f() -> impl 'static {} //~ ERROR at least one trait must be specified
| ^^^^^^^^^^^^
error: aborting due to previous error
|