]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_plugin_impl/src/lib.rs
New upstream version 1.69.0+dfsg1
[rustc.git] / compiler / rustc_plugin_impl / src / lib.rs
index 9ac27c65da82e3f504ad78e495ef79a6665ef191..3f03eef9ee3206ba2f948f010d7ea4b6f16b4347 100644 (file)
 #![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