rust/tests/ui/parser/attribute/attr-with-a-semicolon.stderr

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