2021-07-29 17:00:41 +00:00
|
|
|
error: `#[cfg_attr]` does not expand to any attributes
|
2024-04-06 22:43:00 +00:00
|
|
|
--> $DIR/cfg-attr-empty-is-unused.rs:5:1
|
2019-06-22 10:12:26 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(FALSE,)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2024-04-06 22:43:00 +00:00
|
|
|
--> $DIR/cfg-attr-empty-is-unused.rs:3:9
|
2019-06-22 10:12:26 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(unused)]
|
|
|
|
| ^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[deny(unused_attributes)]` implied by `#[deny(unused)]`
|
2019-06-22 10:12:26 +00:00
|
|
|
|
2021-07-29 17:00:41 +00:00
|
|
|
error: `#[cfg_attr]` does not expand to any attributes
|
2024-04-06 22:43:00 +00:00
|
|
|
--> $DIR/cfg-attr-empty-is-unused.rs:8:1
|
2019-06-22 10:12:26 +00:00
|
|
|
|
|
2024-04-06 22:43:00 +00:00
|
|
|
LL | #[cfg_attr(not(FALSE),)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-06-22 10:12:26 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|