rust/tests/ui/parser/obsolete-syntax-impl-for-dotdot.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

11 lines
253 B
Plaintext

error: `impl Trait for .. {}` is an obsolete syntax
--> $DIR/obsolete-syntax-impl-for-dotdot.rs:7:1
|
LL | impl Trait2 for .. {}
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: use `auto trait Trait {}` instead
error: aborting due to 1 previous error