38 lines
852 B
Text
38 lines
852 B
Text
warning: `#[derive]` does nothing on macro invocations
|
|
--> $DIR/issue-49934.rs:13:5
|
|
|
|
|
LL | #[derive(Debug)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this may become a hard error in a future release
|
|
|
|
warning: unused attribute
|
|
--> $DIR/issue-49934.rs:19:5
|
|
|
|
|
LL | #[derive(Debug)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-49934.rs:4:9
|
|
|
|
|
LL | #![warn(unused_attributes)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused attribute
|
|
--> $DIR/issue-49934.rs:23:5
|
|
|
|
|
LL | #[derive(Debug)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused attribute
|
|
--> $DIR/issue-49934.rs:27:13
|
|
|
|
|
LL | let _ = #[derive(Debug)] "Hello, world!";
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused attribute
|
|
--> $DIR/issue-49934.rs:32:9
|
|
|
|
|
LL | #[derive(Debug)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|