rust/tests/ui/parser/attribute/attr-with-a-semicolon.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

15 lines
297 B
Plaintext

error: expected item after attributes
--> $DIR/attr-with-a-semicolon.rs:1:1
|
LL | #[derive(Debug, Clone)];
| ^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider removing this semicolon
|
LL - #[derive(Debug, Clone)];
LL + #[derive(Debug, Clone)]
|
error: aborting due to 1 previous error