rust/tests/ui/impl-trait/no-trait.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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