rust/tests/ui/conditional-compilation/cfg-attr-empty-is-unused.stderr

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

22 lines
561 B
Plaintext
Raw Normal View History

error: `#[cfg_attr]` does not expand to any attributes
--> $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
--> $DIR/cfg-attr-empty-is-unused.rs:3:9
2019-06-22 10:12:26 +00:00
|
LL | #![deny(unused)]
| ^^^^^^
= note: `#[deny(unused_attributes)]` implied by `#[deny(unused)]`
2019-06-22 10:12:26 +00:00
error: `#[cfg_attr]` does not expand to any attributes
--> $DIR/cfg-attr-empty-is-unused.rs:8:1
2019-06-22 10:12:26 +00:00
|
LL | #[cfg_attr(not(FALSE),)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
2019-06-22 10:12:26 +00:00
error: aborting due to 2 previous errors