Skip to content
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

Refactor MSRV aliases #7137

Merged
merged 3 commits into from
Apr 26, 2021
Merged

Refactor MSRV aliases #7137

merged 3 commits into from
Apr 26, 2021

Conversation

camsteffen
Copy link
Contributor

@camsteffen camsteffen commented Apr 26, 2021

changelog: Remove MSRV from needless_question_mark and change MSRV for missing_const_for_fn from 1.37.0 to 1.46.0.

First mentioned on Zulip.

  • Moves MSRV constants into clippy_utils::msrvs. Now they are named to represent a stabilized feature flag or library item that is required for a lint's suggestion.
  • needless_question_mark no longer has MSRV. Not needed since it does not suggest adding ?.
  • missing_const_for_fn MSRV was changed from 1.37.0 to 1.46.0. This seems to be a past mistake.

@rust-highfive
Copy link

r? @llogiq

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 26, 2021
@llogiq
Copy link
Contributor

llogiq commented Apr 26, 2021

Great work, especially having the MSRV relate to the stabilized feature instead of the lint. An awesome readability win! Kudos!

@bors r+

@bors
Copy link
Contributor

bors commented Apr 26, 2021

📌 Commit 3a8e759 has been approved by llogiq

@bors
Copy link
Contributor

bors commented Apr 26, 2021

⌛ Testing commit 3a8e759 with merge f33d86d...

@bors
Copy link
Contributor

bors commented Apr 26, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing f33d86d to master...

@bors bors merged commit f33d86d into rust-lang:master Apr 26, 2021
@camsteffen camsteffen deleted the msrv-mod branch July 8, 2021 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants