Introduce -Z lint-rust-version#157707
Conversation
|
|
|
rustbot has assigned @JonathanBrouwer. Use Why was this reviewer chosen?The reviewer was selected based on:
|
9f3b9de to
3548372
Compare
|
Reminder, once the PR becomes ready for a review, use |
3548372 to
593616e
Compare
|
Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
593616e to
ca98ee8
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. |
|
Added the motivating lint to demonstrate/test the API. If the approach looks good I will split that one out to a new PR. |
This comment has been minimized.
This comment has been minimized.
ca98ee8 to
b92d944
Compare
This comment has been minimized.
This comment has been minimized.
b92d944 to
2d0d591
Compare
This comment has been minimized.
This comment has been minimized.
2d0d591 to
baf816a
Compare
|
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
baf816a to
68f4e76
Compare
|
Dropped the commit with the lint, @rustbot ready |
|
@bors r=JonathanBrouwer |
Rollup of 6 pull requests Successful merges: - #157707 (Introduce `-Z lint-rust-version`) - #157748 (rustc_public: make sure hidden fields have their accessors) - #157831 (test `carryless_mul` codegen) - #157879 (bootstrap: fix inverted success check in PowerShell download fallback) - #157933 (Use constant for detecting thin pointer formatting) - #157934 (update AttributeTemplate docs)
Rollup merge of #157707 - clubby789:lint-rust-version, r=JonathanBrouwer Introduce `-Z lint-rust-version` Implements rust-lang/compiler-team#950 by adding the unstable flag and updating the lint machinery to accept an MSRV. Copies most of the approach from #149870 Tracking issue: #157574
…=JonathanBrouwer doc: Document `-Zlint-rust-version` Followup to rust-lang#157707 Tracking issue: rust-lang#157574 r? JonathanBrouwer
…=JonathanBrouwer doc: Document `-Zlint-rust-version` Followup to rust-lang#157707 Tracking issue: rust-lang#157574 r? JonathanBrouwer
…=JonathanBrouwer doc: Document `-Zlint-rust-version` Followup to rust-lang#157707 Tracking issue: rust-lang#157574 r? JonathanBrouwer
…=JonathanBrouwer doc: Document `-Zlint-rust-version` Followup to rust-lang#157707 Tracking issue: rust-lang#157574 r? JonathanBrouwer
View all comments
Implements rust-lang/compiler-team#950 by adding the unstable flag and updating the lint machinery to accept an MSRV.
Copies most of the approach from #149870
Tracking issue: #157574