63a5f399ae
Arm, Field, FieldPat, GenericParam, Param, StructField and Variant
39 lines
845 B
Plaintext
39 lines
845 B
Plaintext
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: lint level 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)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|