about summary refs log tree commit diff
path: root/compiler/rustc_errors/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_errors/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_errors/messages.ftl')
-rw-r--r--compiler/rustc_errors/messages.ftl19
1 files changed, 19 insertions, 0 deletions
diff --git a/compiler/rustc_errors/messages.ftl b/compiler/rustc_errors/messages.ftl
new file mode 100644
index 00000000000..dde1d6c0a81
--- /dev/null
+++ b/compiler/rustc_errors/messages.ftl
@@ -0,0 +1,19 @@
+errors_target_invalid_address_space =
+    invalid address space `{$addr_space}` for `{$cause}` in "data-layout": {$err}
+
+errors_target_invalid_bits =
+    invalid {$kind} `{$bit}` for `{$cause}` in "data-layout": {$err}
+
+errors_target_missing_alignment =
+    missing alignment for `{$cause}` in "data-layout"
+
+errors_target_invalid_alignment =
+    invalid alignment for `{$cause}` in "data-layout": {$err}
+
+errors_target_inconsistent_architecture =
+    inconsistent target specification: "data-layout" claims architecture is {$dl}-endian, while "target-endian" is `{$target}`
+
+errors_target_inconsistent_pointer_width =
+    inconsistent target specification: "data-layout" claims pointers are {$pointer_size}-bit, while "target-pointer-width" is `{$target}`
+
+errors_target_invalid_bits_size = {$err}