Reformat top_level_options! and options! macro declarations#155331
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Apr 15, 2026
Merged
Reformat top_level_options! and options! macro declarations#155331rust-bors[bot] merged 1 commit intorust-lang:mainfrom
top_level_options! and options! macro declarations#155331rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
rustbot has assigned @petrochenkov. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Contributor
|
r=me after answering #155331 (comment). |
Contributor
|
@bors r+ |
Contributor
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 15, 2026
…uwer Rollup of 5 pull requests Successful merges: - #155331 (Reformat `top_level_options!` and `options!` macro declarations) - #155332 (bump std libc to `0.2.185`) - #155286 (attribute cleanup: rustc_confusables) - #155306 (`CValue::zst()` - add missing "ZST" in docs) - #155311 (various small `rustc_expand` cleanups)
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 15, 2026
…uwer Rollup of 5 pull requests Successful merges: - #155331 (Reformat `top_level_options!` and `options!` macro declarations) - #155332 (bump std libc to `0.2.185`) - #155286 (attribute cleanup: rustc_confusables) - #155306 (`CValue::zst()` - add missing "ZST" in docs) - #155311 (various small `rustc_expand` cleanups)
rust-timer
added a commit
that referenced
this pull request
Apr 15, 2026
Rollup merge of #155331 - Zalathar:options-fmt, r=petrochenkov Reformat `top_level_options!` and `options!` macro declarations These macros are already tricky, and having weird formatting doesn't help. Using a more regular style makes it easier to see where nesting begins and ends. Extracted from #154501 after the changes in #149357 made rebasing very difficult. There should be no change to compiler behaviour.
github-actions bot
pushed a commit
to rust-lang/rust-analyzer
that referenced
this pull request
Apr 16, 2026
…uwer Rollup of 5 pull requests Successful merges: - rust-lang/rust#155331 (Reformat `top_level_options!` and `options!` macro declarations) - rust-lang/rust#155332 (bump std libc to `0.2.185`) - rust-lang/rust#155286 (attribute cleanup: rustc_confusables) - rust-lang/rust#155306 (`CValue::zst()` - add missing "ZST" in docs) - rust-lang/rust#155311 (various small `rustc_expand` cleanups)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These macros are already tricky, and having weird formatting doesn't help. Using a more regular style makes it easier to see where nesting begins and ends.
Extracted from #154501 after the changes in #149357 made rebasing very difficult.
There should be no change to compiler behaviour.