2018-04-18 01:19:21 -05:00
|
|
|
warning: `#[derive]` does nothing on macro invocations
|
2019-09-09 07:26:25 -05:00
|
|
|
--> $DIR/issue-49934.rs:13:5
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(Debug)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this may become a hard error in a future release
|
|
|
|
|
|
|
|
warning: unused attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
--> $DIR/issue-49934.rs:19:5
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
2019-09-09 07:26:25 -05:00
|
|
|
LL | #[derive(Debug)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-49934.rs:4:9
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![warn(unused_attributes)]
|
2018-04-18 01:19:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unused attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
--> $DIR/issue-49934.rs:23:5
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[derive(Debug)]
|
2018-04-18 01:19:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unused attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
--> $DIR/issue-49934.rs:27:13
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
|
|
|
LL | let _ = #[derive(Debug)] "Hello, world!";
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unused attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
--> $DIR/issue-49934.rs:32:9
|
2018-04-18 01:19:21 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[derive(Debug)]
|
2018-04-18 01:19:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-03-11 10:30:09 -05:00
|
|
|
warning: 5 warnings emitted
|
|
|
|
|