]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conditional-compilation/cfg-attr-empty-is-unused.stderr
Rollup merge of #83791 - the8472:relax-zip-side-effect-guarantee, r=dtolnay
[rust.git] / src / test / ui / conditional-compilation / cfg-attr-empty-is-unused.stderr
1 error: `#[cfg_attr]` does not expand to any attributes
2   --> $DIR/cfg-attr-empty-is-unused.rs:7:1
3    |
4 LL | #[cfg_attr(FALSE,)]
5    | ^^^^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/cfg-attr-empty-is-unused.rs:5:9
9    |
10 LL | #![deny(unused)]
11    |         ^^^^^^
12    = note: `#[deny(unused_attributes)]` implied by `#[deny(unused)]`
13
14 error: `#[cfg_attr]` does not expand to any attributes
15   --> $DIR/cfg-attr-empty-is-unused.rs:10:1
16    |
17 LL | #[cfg_attr(TRUE,)]
18    | ^^^^^^^^^^^^^^^^^^
19
20 error: aborting due to 2 previous errors
21