Rename invalid false cfg to valid _false cfg

While `false` is accepted by `--cfg` it isn't by `#[cfg(false)]`
since in that context `false` is the boolean not a ident.
This commit is contained in:
Urgau 2024-04-07 00:48:28 +02:00
parent 3ba0139c66
commit 47ff773632

View File

@ -1,9 +1,9 @@
//@ check-pass
//@ revisions: n no off false zero
//@ revisions: n no off _false zero
//@ [n] compile-flags: -Cinstrument-coverage=n
//@ [no] compile-flags: -Cinstrument-coverage=no
//@ [off] compile-flags: -Cinstrument-coverage=off
//@ [false] compile-flags: -Cinstrument-coverage=false
//@ [_false] compile-flags: -Cinstrument-coverage=false
//@ [zero] compile-flags: -Cinstrument-coverage=0
fn main() {}