mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() Stabilize `cfg_boolean_literals` Closes #131204 `@rustbot` labels +T-lang +I-lang-nominated This will end up conflicting with the test in #138293 so whichever doesn't land first will need updating -- # Stabilization Report ## General design ### What is the RFC for this feature and what changes have occurred to the user-facing design since the RFC was finalized? [RFC 3695](https://github.com/rust-lang/rfcs/pull/3695), none. ### What behavior are we committing to that has been controversial? Summarize the major arguments pro/con. None ### Are there extensions to this feature that remain unstable? How do we know that we are not accidentally committing to those? None ## Has a call-for-testing period been conducted? If so, what feedback was received? Yes; only positive feedback was received. ## Implementation quality ### Summarize the major parts of the implementation and provide links into the code (or to PRs) Implemented in [#131034](https://github.com/rust-lang/rust/pull/131034). ### Summarize existing test coverage of this feature - [Basic usage, including `#[cfg()]`, `cfg!()` and `#[cfg_attr()]`]( |
||
---|---|---|
.. | ||
assoc-ty.current.stderr | ||
assoc-ty.next.stderr | ||
assoc-ty.rs | ||
auto-is-contextual.rs | ||
auto-trait-projection-recursion.rs | ||
auto-trait-validation.fixed | ||
auto-trait-validation.rs | ||
auto-trait-validation.stderr | ||
auto-traits.rs | ||
auto-traits.stderr | ||
bad-generics-on-dyn.rs | ||
bad-generics-on-dyn.stderr | ||
has-arguments.rs | ||
has-arguments.stderr | ||
issue-23080-2.current.stderr | ||
issue-23080-2.next.stderr | ||
issue-23080-2.rs | ||
issue-23080.rs | ||
issue-23080.stderr | ||
issue-83857-ub.rs | ||
issue-83857-ub.stderr | ||
issue-84075.rs | ||
issue-84075.stderr | ||
issue-117789.rs | ||
issue-117789.stderr | ||
pre-cfg.rs | ||
pre-cfg.stderr | ||
str-contains-slice-conceptually.rs | ||
str-contains-slice-conceptually.stderr | ||
typeck-auto-trait-no-supertraits-2.rs | ||
typeck-auto-trait-no-supertraits-2.stderr | ||
typeck-auto-trait-no-supertraits.rs | ||
typeck-auto-trait-no-supertraits.stderr | ||
typeck-default-trait-impl-constituent-types-2.rs | ||
typeck-default-trait-impl-constituent-types-2.stderr | ||
typeck-default-trait-impl-constituent-types.rs | ||
typeck-default-trait-impl-constituent-types.stderr | ||
typeck-default-trait-impl-negation.rs | ||
typeck-default-trait-impl-negation.stderr | ||
typeck-default-trait-impl-precedence.rs | ||
typeck-default-trait-impl-precedence.stderr | ||
ungated-impl.rs | ||
ungated-impl.stderr |