Skip to content

fix: complete 'false' in cfg attribute - #23382

Open
A4-Tacks wants to merge 1 commit into
rust-lang:masterfrom
A4-Tacks:comp-false-cfg-cond
Open

A4-Tacks wants to merge 1 commit into
rust-lang:masterfrom
A4-Tacks:comp-false-cfg-cond

Conversation

@A4-Tacks

Copy link
Copy Markdown
Member

Example

#[cfg_attr($0, allow(deprecated))]

Before this PR

ba all
ba any
ba not
ba test
ba true

After this PR

ba all
ba any
ba false
ba not
ba test
ba true

Example
---
```rust
#[cfg_attr($0, allow(deprecated))]
```

**Before this PR**

```text
ba all
ba any
ba not
ba test
ba true
```

**After this PR**

```text
ba all
ba any
ba false
ba not
ba test
ba true
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants