about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/messages.ftl
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_driver_impl/messages.ftl
parent8a73f50d875840b8077b8ec080fa41881d7ce40d (diff)
downloadrust-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_driver_impl/messages.ftl')
-rw-r--r--compiler/rustc_driver_impl/messages.ftl19
1 files changed, 19 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/messages.ftl b/compiler/rustc_driver_impl/messages.ftl
new file mode 100644
index 00000000000..f19b1ff6426
--- /dev/null
+++ b/compiler/rustc_driver_impl/messages.ftl
@@ -0,0 +1,19 @@
+driver_impl_rlink_unable_to_read = failed to read rlink file: `{$err}`
+
+driver_impl_rlink_wrong_file_type = The input does not look like a .rlink file
+
+driver_impl_rlink_empty_version_number = The input does not contain version number
+
+driver_impl_rlink_encoding_version_mismatch = .rlink file was produced with encoding version `{$version_array}`, but the current version is `{$rlink_version}`
+
+driver_impl_rlink_rustc_version_mismatch = .rlink file was produced by rustc version `{$rustc_version}`, but the current version is `{$current_version}`
+
+driver_impl_rlink_no_a_file = rlink must be a file
+
+driver_impl_unpretty_dump_fail = pretty-print failed to write `{$path}` due to error `{$err}`
+
+driver_impl_ice = the compiler unexpectedly panicked. this is a bug.
+driver_impl_ice_bug_report = we would appreciate a bug report: {$bug_report_url}
+driver_impl_ice_version = rustc {$version} running on {$triple}
+driver_impl_ice_flags = compiler flags: {$flags}
+driver_impl_ice_exclude_cargo_defaults = some of the compiler flags provided by cargo are hidden