rust/compiler/rustc_parse/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
..
lexer Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
parser Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercote 2024-10-04 15:42:53 +02:00
errors.rs Rollup merge of #130725 - GrigorenkoPV:@-in-struct-patterns, r=Nadrieril 2024-10-02 21:26:58 -07:00
lib.rs Use ast::NestedMetaItem when evaluating cfg predicate 2024-10-01 10:01:09 +02:00
validate_attr.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00