about summary refs log tree commit diff
path: root/compiler/rustc_errors/messages.ftl
diff options
context:
space:
mode:
authorDayo <dayo05@daum.net>2023-07-03 18:08:49 +0900
committerDayo <dayo05@daum.net>2023-07-07 15:56:01 +0900
commitd6c93b33d0af1ede78b6097d04492ab36689dc1d (patch)
tree7452ec02d7ad5b1499e97a4c3cd48094e1f7902b /compiler/rustc_errors/messages.ftl
parent839e9a6e1210934fd24b15548b811a97c77138fc (diff)
downloadrust-d6c93b33d0af1ede78b6097d04492ab36689dc1d.tar.gz
rust-d6c93b33d0af1ede78b6097d04492ab36689dc1d.zip
Implement diagnostic translation for expected lifetime parameter message
Diffstat (limited to 'compiler/rustc_errors/messages.ftl')
-rw-r--r--compiler/rustc_errors/messages.ftl22
1 files changed, 22 insertions, 0 deletions
diff --git a/compiler/rustc_errors/messages.ftl b/compiler/rustc_errors/messages.ftl
index 8e8223c3cf8..d68dba0be5e 100644
--- a/compiler/rustc_errors/messages.ftl
+++ b/compiler/rustc_errors/messages.ftl
@@ -1,3 +1,25 @@
+errors_delayed_at_with_newline =
+    delayed at {$emitted_at}
+    {$note}
+
+errors_delayed_at_without_newline =
+    delayed at {$emitted_at} - {$note}
+
+errors_expected_lifetime_parameter =
+    expected lifetime {$count ->
+        [1] parameter
+        *[other] parameters
+    }
+
+errors_indicate_anonymous_lifetime =
+    indicate the anonymous {$count ->
+        [1] lifetime
+        *[other] lifetimes
+    }
+
+errors_invalid_flushed_delayed_diagnostic_level =
+    `flushed_delayed` got diagnostic with level {$level}, instead of the expected `DelayedBug`
+
 errors_target_inconsistent_architecture =
     inconsistent target specification: "data-layout" claims architecture is {$dl}-endian, while "target-endian" is `{$target}`