Refactor diagnostics in handle_errors function

This commit is contained in:
Hampus Lidin 2022-08-21 08:46:05 +02:00
parent e0dc8d7801
commit 0005f628f0
5 changed files with 254 additions and 31 deletions

View file

@ -33,6 +33,7 @@ pub use unic_langid::{langid, LanguageIdentifier};
// Generates `DEFAULT_LOCALE_RESOURCES` static and `fluent_generated` module.
fluent_messages! {
ast_passes => "../locales/en-US/ast_passes.ftl",
attr => "../locales/en-US/attr.ftl",
borrowck => "../locales/en-US/borrowck.ftl",
builtin_macros => "../locales/en-US/builtin_macros.ftl",
const_eval => "../locales/en-US/const_eval.ftl",