refactor: move check_align to parse_alignment#153189
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Mar 6, 2026
Merged
refactor: move check_align to parse_alignment#153189rust-bors[bot] merged 1 commit intorust-lang:mainfrom
check_align to parse_alignment#153189rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
Some changes occurred in compiler/rustc_attr_parsing |
JonathanBrouwer
requested changes
Feb 27, 2026
This comment has been minimized.
This comment has been minimized.
Collaborator
|
Some changes occurred in compiler/rustc_passes/src/check_attr.rs |
This comment has been minimized.
This comment has been minimized.
Member
Author
|
@JonathanBrouwer I think i've finally gotten everything in order :D |
a1cb53e to
a026d9d
Compare
Contributor
|
I'll take a look sometime in the next few days :) |
JonathanBrouwer
requested changes
Mar 2, 2026
check_align to parse_alignmentcheck_align to parse_alignment
Member
Author
|
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
Contributor
|
@rustbot author |
Member
Author
|
@rustbot ready I also fixed the first commit's name so if its good to go then you can squash and merge from bors directly :) |
0b79ab0 to
6321e44
Compare
Contributor
|
@bors squash |
This comment has been minimized.
This comment has been minimized.
* refactor: move `check_align` from check_attrs.rs to `parse_alignment` rel: attribute parser rework * fix: fix error messages * test: fix test * fix: fix invalid error message * ops(test): Fix CI
Contributor
|
🔨 5 commits were squashed into 2093158. |
6321e44 to
2093158
Compare
Contributor
|
@bors r+ rollup |
Contributor
Open
28 tasks
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Mar 6, 2026
…tor_1, r=JonathanBrouwer refactor: move `check_align` to `parse_alignment` Part of rust-lang#153101 r? @JonathanBrouwer PS: jonathan i'm not sure about what to do with `check_align` now
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 6, 2026
Rollup of 7 pull requests Successful merges: - #153466 (`rust-analyzer` subtree update) - #151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - #152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - #153189 (refactor: move `check_align` to `parse_alignment`) - #153230 (Roll rustfmt reviewers for in-tree rustfmt) - #153321 (Add high-priority ICEs to tests/crashes) - #153445 (Consider try blocks as block-like for overflowed expr)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Mar 6, 2026
…tor_1, r=JonathanBrouwer refactor: move `check_align` to `parse_alignment` Part of rust-lang#153101 r? @JonathanBrouwer PS: jonathan i'm not sure about what to do with `check_align` now
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 6, 2026
…uwer Rollup of 9 pull requests Successful merges: - #153466 (`rust-analyzer` subtree update) - #151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - #152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - #153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - #153189 (refactor: move `check_align` to `parse_alignment`) - #153230 (Roll rustfmt reviewers for in-tree rustfmt) - #153445 (Consider try blocks as block-like for overflowed expr) - #153476 (bootstrap.py: fix typo "parallle") - #153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Mar 6, 2026
…tor_1, r=JonathanBrouwer refactor: move `check_align` to `parse_alignment` Part of rust-lang#153101 r? @JonathanBrouwer PS: jonathan i'm not sure about what to do with `check_align` now
This was referenced Mar 6, 2026
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 6, 2026
…uwer Rollup of 14 pull requests Successful merges: - #153466 (`rust-analyzer` subtree update) - #151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - #152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - #153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - #153485 (libcore float tests: replace macro shadowing by const-compatible macro) - #153495 (Fix ICE in `offset_of!` error recovery) - #152040 (Do not emit ConstEvaluatable goals if type-const) - #152741 (Suppress invalid suggestions in destructuring assignment) - #153189 (refactor: move `check_align` to `parse_alignment`) - #153230 (Roll rustfmt reviewers for in-tree rustfmt) - #153445 (Consider try blocks as block-like for overflowed expr) - #153452 (Cleanup unused diagnostic emission methods) - #153476 (bootstrap.py: fix typo "parallle") - #153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
rust-timer
added a commit
that referenced
this pull request
Mar 6, 2026
Rollup merge of #153189 - JayanAXHF:refactor/check_attrs_reftor_1, r=JonathanBrouwer refactor: move `check_align` to `parse_alignment` Part of #153101 r? @JonathanBrouwer PS: jonathan i'm not sure about what to do with `check_align` now
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.
Part of #153101
r? @JonathanBrouwer
PS: jonathan i'm not sure about what to do with
check_alignnow