-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow boolean literals in check-cfg
#138767
Conversation
71bb14e
to
72b3b24
Compare
This comment has been minimized.
This comment has been minimized.
72b3b24
to
5dcfcaa
Compare
Procedurally, this change impacts a stable option, the change is quite limited (and could even be considered a consistency bug-fix with @clubby789 could you open a MCP (Major Change Proposal) against the rust-lang/compiler-team repo explaining the change and its motivation so this PR can move forward. @rustbot label +S-waiting-on-MCP -S-waiting-on-review |
5dcfcaa
to
9be6359
Compare
Opened an MCP: rust-lang/compiler-team#854 |
9be6359
to
3df2acd
Compare
The MCP has been accepted. Let's merge it. @bors r+ rollup |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#138017 (Tighten up assignment operator representations.) - rust-lang#138462 (Dedup `&mut *` reborrow suggestion in loops) - rust-lang#138610 (impl !PartialOrd for HirId) - rust-lang#138767 (Allow boolean literals in `check-cfg`) - rust-lang#139068 (io: Avoid marking some bytes as uninit) - rust-lang#139255 (Remove unused variables generated in merged doctests) - rust-lang#139270 (Add a mailmap entry for myself) - rust-lang#139303 (Put Noratrieb on vacation) - rust-lang#139312 (add Marco Ieni to mailmap) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#138767 - clubby789:check-cfg-bool, r=Urgau Allow boolean literals in `check-cfg` rust-lang#138632 (comment) This makes it consistent with `--cfg` We could alternatively add a forward-compatible lint against `--cfg true/false` r? `@Urgau`
#138632 (comment)
This makes it consistent with
--cfg
We could alternatively add a forward-compatible lint against
--cfg true/false
r? @Urgau