rust/compiler/rustc_expand/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
..
mbe Stabilize expr_2021 fragment in all editions 2024-10-01 07:51:58 +00:00
base.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
build.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
config.rs Implement boolean lit support in cfg predicates 2024-10-01 10:01:33 +02:00
errors.rs Add warn(unreachable_pub) to rustc_expand. 2024-08-27 12:40:38 +10:00
expand.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lib.rs Add warn(unreachable_pub) to rustc_expand. 2024-08-27 12:40:38 +10:00
mbe.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
module.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
placeholders.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
proc_macro_server.rs cleanup: don't manually unwrap_or_default() 2024-09-29 12:51:28 +02:00
proc_macro.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00