rust/tests/ui/lint/unused/unused-macros-decl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
738 B
Plaintext
Raw Normal View History

error: unused macro definition: `unused`
--> $DIR/unused-macros-decl.rs:7:7
2018-08-08 07:28:26 -05:00
|
LL | macro unused {
| ^^^^^^
2018-08-08 07:28:26 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/unused-macros-decl.rs:2:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(unused_macros)]
| ^^^^^^^^^^^^^
error: unused macro definition: `unused`
--> $DIR/unused-macros-decl.rs:17:11
2018-08-08 07:28:26 -05:00
|
LL | macro unused {
| ^^^^^^
2018-08-08 07:28:26 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/unused-macros-decl.rs:16:12
2018-08-08 07:28:26 -05:00
|
LL | #[deny(unused_macros)]
| ^^^^^^^^^^^^^
error: unused macro definition: `unused`
--> $DIR/unused-macros-decl.rs:23:22
2018-08-08 07:28:26 -05:00
|
LL | pub(crate) macro unused {
| ^^^^^^
2018-08-08 07:28:26 -05:00
error: aborting due to 3 previous errors