diff options
| author | est31 <MTest31@outlook.com> | 2022-08-10 09:42:10 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2022-08-12 22:22:55 +0200 |
| commit | cc6cff564ff68046c8e0c2fa967a7227a67097d2 (patch) | |
| tree | ec1ca66442d2e77c94af21462a80a25ead2354f3 /compiler/rustc_macros/src/lib.rs | |
| parent | f22819bcce4abaff7d1246a56eec493418f9f4ee (diff) | |
| download | rust-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
