mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
297 B
Plaintext
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
|
|
|