about summary refs log tree commit diff
path: root/compiler/rustc_error_messages
diff options
context:
space:
mode:
authorNathan Stocks <cleancut@github.com>2022-08-23 16:40:43 -0600
committerNathan Stocks <cleancut@github.com>2022-08-31 10:56:42 -0600
commitf7e462a6c7faaea4bfce236fb94b4622ea8260ef (patch)
treea6a93be70e1bfe5c4b0e6e964ce9ad0f6eba1e59 /compiler/rustc_error_messages
parent3ed93107ff0f92a64391e3c0936fb17195d525aa (diff)
downloadrust-f7e462a6c7faaea4bfce236fb94b4622ea8260ef.tar.gz
rust-f7e462a6c7faaea4bfce236fb94b4622ea8260ef.zip
port encoder.rs to SessionDiagnostics
Diffstat (limited to 'compiler/rustc_error_messages')
-rw-r--r--compiler/rustc_error_messages/locales/en-US/metadata.ftl9
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/metadata.ftl b/compiler/rustc_error_messages/locales/en-US/metadata.ftl
index 0685981f9bb..8cce1f007e2 100644
--- a/compiler/rustc_error_messages/locales/en-US/metadata.ftl
+++ b/compiler/rustc_error_messages/locales/en-US/metadata.ftl
@@ -121,3 +121,12 @@ metadata_unsupported_abi_i686 =
 
 metadata_unsupported_abi =
     ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture
+
+metadata_fail_create_file_encoder =
+    failed to create file encoder: {$err}
+
+metadata_fail_seek_file =
+    failed to seek the file: {$err}
+
+metadata_fail_write_file =
+    failed to write to the file: {$err}