rust/compiler/rustc_attr/src
Guillaume Gomez 2ceeeb159d
Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercote
Implement RFC3695 Allow boolean literals as cfg predicates

This PR implements https://github.com/rust-lang/rfcs/pull/3695: allow boolean literals as cfg predicates, i.e. `cfg(true)` and `cfg(false)`.

r? `@nnethercote` *(or anyone with parser knowledge)*
cc `@clubby789`
2024-10-04 15:42:53 +02:00
..
builtin.rs Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercote 2024-10-04 15:42:53 +02:00
lib.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
session_diagnostics.rs Improve non-boolean literal error in cfg predicate 2024-10-04 09:09:20 +02:00