about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/lib.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-08-10 09:42:10 +0200
committerest31 <MTest31@outlook.com>2022-08-12 22:22:55 +0200
commitcc6cff564ff68046c8e0c2fa967a7227a67097d2 (patch)
treeec1ca66442d2e77c94af21462a80a25ead2354f3 /compiler/rustc_macros/src/lib.rs
parentf22819bcce4abaff7d1246a56eec493418f9f4ee (diff)
downloadrust-cc6cff564ff68046c8e0c2fa967a7227a67097d2.tar.gz
rust-cc6cff564ff68046c8e0c2fa967a7227a67097d2.zip
Replace - with _ in ftl slugs for better grepability
Having to replace - with _ (and vice versa) makes the slugs less greppable
and thus constitutes a contributor roadblock.

Result of running this repeatedly up until reaching a fixpoint:

find compiler/rustc_error_messages/locales/en-US/ -type f -exec sed -i 's/\(.+\)-\(.*\)=/\1_\2=/' {} \;

Plus some fixes to update usages of slugs leading with -.
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions