summaryrefslogtreecommitdiff
path: root/compiler/rustc_mir_dataflow
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2023-03-03 00:18:38 +0100
committerest31 <MTest31@outlook.com>2023-03-11 22:51:57 +0100
commit7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57 (patch)
tree7860aa3f74b935678b7c44db119bb9e51035b351 /compiler/rustc_mir_dataflow
parent8a73f50d875840b8077b8ec080fa41881d7ce40d (diff)
downloadrust-7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57.tar.gz
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_mir_dataflow')
-rw-r--r--compiler/rustc_mir_dataflow/messages.ftl (renamed from compiler/rustc_mir_dataflow/locales/en-US.ftl)0
-rw-r--r--compiler/rustc_mir_dataflow/src/lib.rs2
2 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/locales/en-US.ftl b/compiler/rustc_mir_dataflow/messages.ftl
index 98854152508..98854152508 100644
--- a/compiler/rustc_mir_dataflow/locales/en-US.ftl
+++ b/compiler/rustc_mir_dataflow/messages.ftl
diff --git a/compiler/rustc_mir_dataflow/src/lib.rs b/compiler/rustc_mir_dataflow/src/lib.rs
index b1e03faff05..4ed6f7e90ff 100644
--- a/compiler/rustc_mir_dataflow/src/lib.rs
+++ b/compiler/rustc_mir_dataflow/src/lib.rs
@@ -46,7 +46,7 @@ pub mod storage;
pub mod un_derefer;
pub mod value_analysis;
-fluent_messages! { "../locales/en-US.ftl" }
+fluent_messages! { "../messages.ftl" }
pub(crate) mod indexes {
pub(crate) use super::move_paths::MovePathIndex;