Rip out rustc_layout_scalar_valid_range_* attribute support#155433
Rip out rustc_layout_scalar_valid_range_* attribute support#155433oli-obk wants to merge 6 commits intorust-lang:mainfrom
Conversation
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred to the CTFE machinery The Miri subtree was changed cc @rust-lang/miri Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer Some changes occurred in compiler/rustc_passes/src/check_attr.rs cc @jdonszelmann, @JonathanBrouwer Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri Some changes occurred in compiler/rustc_hir/src/attrs cc @jdonszelmann, @JonathanBrouwer This PR changes a file inside |
|
r? @chenyukang rustbot has assigned @chenyukang. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Happy to review this r? me |
|
Reminder, once the PR becomes ready for a review, use |
This comment has been minimized.
This comment has been minimized.
c6053aa to
cc13e2c
Compare
|
There is some prose in the dev guide that will no longer apply.
https://rustc-dev-guide.rust-lang.org/unsafety-checking.html?other-checks-involving-unsafe |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cc13e2c to
663f77e
Compare
This comment has been minimized.
This comment has been minimized.
663f77e to
c01a244
Compare
|
The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. |
c01a244 to
07e6d54
Compare
This comment has been minimized.
This comment has been minimized.
07e6d54 to
cbd6780
Compare
This comment has been minimized.
This comment has been minimized.
cbd6780 to
4fb465f
Compare
|
@bors r=RalfJung,ShoyuVanilla |
…RalfJung,ShoyuVanilla Rip out rustc_layout_scalar_valid_range_* attribute support And either removes tests for it or replaces the uses with pattern types. primarily fixes rust-lang#135996 fixes rust-lang#147761 fixes rust-lang#133652
…uwer Rollup of 9 pull requests Successful merges: - #155760 (Remove `AttributeLintKind`) - #154510 (Partially stabilize LoongArch target features) - #155137 (Allow trailing `self` in more contexts) - #155433 (Rip out rustc_layout_scalar_valid_range_* attribute support) - #155702 (Change `ItemKind::Trait` to a field variant.) - #154896 (Fix ICE: Scalar layout for non-primitive non-enum type unsafe binder) - #155675 (Disallow non_exhaustive structs and enums with non_exhaustive variants from implementing `ConstParamTy`) - #155874 (Avoid misleading closure return type note) - #155876 (CI: rfl: move job forward to Linux v7.1-rc1)
|
This pull request was unapproved. This PR was contained in a rollup (#155885), which was unapproved. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
Rip out rustc_layout_scalar_valid_range_* attribute support try-job: aarch64-msvc-1
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
e993ad9 to
797b484
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors try jobs=aarch64-msvc-1 |
This comment has been minimized.
This comment has been minimized.
Rip out rustc_layout_scalar_valid_range_* attribute support try-job: aarch64-msvc-1
|
☔ The latest upstream changes (presumably #155775) made this pull request unmergeable. Please resolve the merge conflicts. |
|
💔 Test for 27ef644 failed: CI. Failed job:
|
|
The job Click to see the possible cause of the failure (guessed by this bot) |
View all comments
And either removes tests for it or replaces the uses with pattern types.
primarily fixes #135996
fixes #147761
fixes #133652