Skip to content

Commit 2298c01

Browse files
authored
Rollup merge of #149791 - clubby789:cfg-bool-lints, r=jdonszelmann
Remove uses of `cfg({any()/all()})` ~~This implements the followup warning suggested in rust-lang/rfcs#3695 ~~Lint against an empty `cfg(any/all)`, suggest the boolean literal equivalents.~~ rust-lang/rust#149791 (comment) Tracking issue: rust-lang/rust#131204
2 parents 51e8b6e + 932c939 commit 2298c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub(crate) fn compile_fn(
167167
context.clear();
168168
context.func = codegened_func.func;
169169

170-
#[cfg(any())] // This is never true
170+
#[cfg(false)]
171171
let _clif_guard = {
172172
use std::fmt::Write;
173173

0 commit comments

Comments
 (0)