about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-07 07:21:09 +0000
committerbors <bors@rust-lang.org>2025-01-07 07:21:09 +0000
commitfb546ee09b226bc4dd4b712d35a372d923c4fa54 (patch)
tree0c7763780646922b1a22605afa77179c12543357 /compiler/rustc_macros/src
parent6f2ca607bc03f526c3c88ba300a713609a8bdab0 (diff)
parent80cdaeac3de16f48db1e187b2426c2517d5aa5ea (diff)
downloadrust-fb546ee09b226bc4dd4b712d35a372d923c4fa54.tar.gz
rust-fb546ee09b226bc4dd4b712d35a372d923c4fa54.zip
Auto merge of #135173 - pietroalbini:pa-fix-rvp, r=workingjubilee
Avoid replacing the definition of `CURRENT_RUSTC_VERSION`

Before this PR, replace-version-placeholder hardcoded the path defining CURRENT_RUSTC_VERSION (to avoid replacing it). After a refactor moved the file defining it without changing the hardcoded path, the tool started replacing the constant itself with the version number.

To avoid this from happening in the future, this changes the definition of the constant to avoid the tool from ever matching it.

r? `@workingjubilee`
Diffstat (limited to 'compiler/rustc_macros/src')
0 files changed, 0 insertions, 0 deletions