about summary refs log tree commit diff
path: root/compiler/rustc_plugin_impl/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-02-26 18:13:57 +0100
committerRalf Jung <post@ralfj.de>2023-02-26 18:13:57 +0100
commitcb45103358c0fef99d7659e0949b3c65b3eabdd6 (patch)
treee430c91fb4e29070945f79df7a47639e5cf4f9b1 /compiler/rustc_plugin_impl/src
parent9fb185210eaa9d2de7e8ab1161897edf2eaae758 (diff)
parentc4e0cd966062ca67daed20775f4e8a60c28e57df (diff)
downloadrust-cb45103358c0fef99d7659e0949b3c65b3eabdd6.tar.gz
rust-cb45103358c0fef99d7659e0949b3c65b3eabdd6.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_plugin_impl/src')
-rw-r--r--compiler/rustc_plugin_impl/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_plugin_impl/src/lib.rs b/compiler/rustc_plugin_impl/src/lib.rs
index 9ac27c65da8..3f03eef9ee3 100644
--- a/compiler/rustc_plugin_impl/src/lib.rs
+++ b/compiler/rustc_plugin_impl/src/lib.rs
@@ -11,11 +11,15 @@
 #![deny(rustc::untranslatable_diagnostic)]
 #![deny(rustc::diagnostic_outside_of_impl)]
 
+use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
 use rustc_lint::LintStore;
+use rustc_macros::fluent_messages;
 
 mod errors;
 pub mod load;
 
+fluent_messages! { "../locales/en-US.ftl" }
+
 /// Structure used to register plugins.
 ///
 /// A plugin registrar function takes an `&mut Registry` and should call