#17815·rust-clippy

Avoid literal CURRENT_RUSTC_VERSION string

Author: Mark-SimulacrumCreated Sep 29, 2026Updated Oct 1, 2026
LabelsA-infra

See https://github.com/rust-lang/rust-clippy/blob/f91e93e1a14441034d9b3be12661d535df344a38/clippy_dev/src/parse.rs#L505

This gets replaced by https://github.com/rust-lang/rust/blob/5c543b0b8c73c7b72bc8284ced4fb22ead15734d/src/tools/replace-version-placeholder/src/main.rs#L25 -- if we can avoid the literal there by e.g. checking a prefix + suffix or similar, that would be good. Otherwise we'll accidentally replace this and probably miss it in PR review eventually.