Add CURRENT_RUSTC_VERSION support for Clippy#152815
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Feb 19, 2026
Merged
Add CURRENT_RUSTC_VERSION support for Clippy#152815rust-bors[bot] merged 1 commit intorust-lang:mainfrom
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Member
|
Did you confirm locally that this works if you artificially add something that needs replacement to clippy? |
Member
Author
|
I did, adding |
Member
|
@bors r+ Thanks! |
Contributor
rust-bors bot
pushed a commit
that referenced
this pull request
Feb 19, 2026
…uwer Rollup of 9 pull requests Successful merges: - #151733 (Use function shims to make sure EII works on apple targets) - #152558 (rustc_expand: improve diagnostics for non-repeatable metavars in repetition) - #152596 (Make all multipart suggestions verbose) - #152815 (Add CURRENT_RUSTC_VERSION support for Clippy) - #152733 (Port #[rustc_doc_primitive] to the new attribute parser) - #152817 (Update enzyme submodule to match upstream) - #152819 (explicitly show behavior of <_>::assoc_fn) - #152823 (fix stale comments left over from ed3711e) - #152824 (Enable "View all comments" link feature in `triagebot.toml`)
rust-timer
added a commit
that referenced
this pull request
Feb 19, 2026
Rollup merge of #152815 - blyxyas:current-rustc-version-clippy, r=Mark-Simulacrum Add CURRENT_RUSTC_VERSION support for Clippy We've been talking about this since Sept. 2022, finally decided to add the dreaded 1-line diff. cc https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy/topic/Using.20CURRENT_RUSTC_VERSION.20in.20clippy.3A.3Aversion.3F/with/516468805 cc https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy/topic/Use.20CURRENT_RUSTC_VERSION.20for.20version.20attribute/with/299900715 Overrides the currently unmerged rust-lang/rust-clippy#14299 cc @rust-lang/clippy --- This PR does not modify in any way the needed behaviour of T-Release when releasing (I hope)
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.
We've been talking about this since Sept. 2022, finally decided to add the dreaded 1-line diff.
cc https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy/topic/Using.20CURRENT_RUSTC_VERSION.20in.20clippy.3A.3Aversion.3F/with/516468805
cc https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy/topic/Use.20CURRENT_RUSTC_VERSION.20for.20version.20attribute/with/299900715
Overrides the currently unmerged rust-lang/rust-clippy#14299
cc @rust-lang/clippy
This PR does not modify in any way the needed behaviour of T-Release when releasing (I hope)