rust/compiler/rustc_attr
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
..
src Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercote 2024-10-04 15:42:53 +02:00
Cargo.toml Use the Align type when parsing alignment attributes 2024-04-01 03:05:55 +01:00
messages.ftl Improve non-boolean literal error in cfg predicate 2024-10-04 09:09:20 +02:00