mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
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 commit is contained in:
@@ -15,6 +15,7 @@ fn main() {
|
||||
&root_path.join("library"),
|
||||
&root_path.join("src/doc/rustc"),
|
||||
&root_path.join("src/doc/rustdoc"),
|
||||
&root_path.join("src/tools/clippy"),
|
||||
],
|
||||
|path, _is_dir| filter_dirs(path),
|
||||
&mut |entry, contents| {
|
||||
|
||||
Reference in New Issue
Block a user