mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
178 B
Plaintext
9 lines
178 B
Plaintext
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
|
|
|