diff options
| author | est31 <MTest31@outlook.com> | 2023-03-03 00:18:38 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-03-11 22:51:57 +0100 |
| commit | 7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57 (patch) | |
| tree | 7860aa3f74b935678b7c44db119bb9e51035b351 /compiler/rustc_trait_selection | |
| parent | 8a73f50d875840b8077b8ec080fa41881d7ce40d (diff) | |
| download | rust-7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57.tar.gz rust-7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57.zip | |
Simplify message paths
This makes it easier to open the messages file while developing on features. The commit was the result of automatted changes: for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
Diffstat (limited to 'compiler/rustc_trait_selection')
| -rw-r--r-- | compiler/rustc_trait_selection/messages.ftl (renamed from compiler/rustc_trait_selection/locales/en-US.ftl) | 0 | ||||
| -rw-r--r-- | compiler/rustc_trait_selection/src/lib.rs | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/locales/en-US.ftl b/compiler/rustc_trait_selection/messages.ftl index 14eb4a5502d..14eb4a5502d 100644 --- a/compiler/rustc_trait_selection/locales/en-US.ftl +++ b/compiler/rustc_trait_selection/messages.ftl diff --git a/compiler/rustc_trait_selection/src/lib.rs b/compiler/rustc_trait_selection/src/lib.rs index 548b42cef43..f866cb016e2 100644 --- a/compiler/rustc_trait_selection/src/lib.rs +++ b/compiler/rustc_trait_selection/src/lib.rs @@ -44,4 +44,4 @@ pub mod infer; pub mod solve; pub mod traits; -fluent_messages! { "../locales/en-US.ftl" } +fluent_messages! { "../messages.ftl" } |
