granite-rust/src/test/ui/lint/unused/unused-macro.stderr

39 lines
747 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error: unused macro definition
2018-12-25 08:56:47 -07:00
--> $DIR/unused-macro.rs:5:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / macro unused {
2018-08-08 14:28:26 +02:00
LL | | () => {}
LL | | }
| |_^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 08:56:47 -07:00
--> $DIR/unused-macro.rs:2:9
2018-08-08 14:28:26 +02:00
|
LL | #![deny(unused_macros)]
| ^^^^^^^^^^^^^
error: unused macro definition
2018-12-25 08:56:47 -07:00
--> $DIR/unused-macro.rs:15:5
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / macro unused {
2018-08-08 14:28:26 +02:00
LL | | () => {}
LL | | }
| |_____^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 08:56:47 -07:00
--> $DIR/unused-macro.rs:14:12
2018-08-08 14:28:26 +02:00
|
LL | #[deny(unused_macros)]
| ^^^^^^^^^^^^^
error: unused macro definition
2018-12-25 08:56:47 -07:00
--> $DIR/unused-macro.rs:21:5
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / pub(crate) macro unused {
2018-08-08 14:28:26 +02:00
LL | | () => {}
LL | | }
| |_____^
error: aborting due to 3 previous errors