1
Fork 0
rust/compiler/rustc_attr_data_structures/src
Pietro Albini 80cdaeac3d
avoid replacing the definition of CURRENT_RUSTC_VERSION
Before this commit, 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.
2025-01-06 21:53:48 +01:00
..
attributes.rs
lib.rs
stability.rs avoid replacing the definition of CURRENT_RUSTC_VERSION 2025-01-06 21:53:48 +01:00
version.rs