Avoid literal CURRENT_RUSTC_VERSION string
Author: Mark-SimulacrumCreated Sep 29, 2026Updated Oct 1, 2026
LabelsA-infra
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.
Source: rust-lang/rust-clippy