summary refs log tree commit diff
path: root/compiler/rustc_error_messages/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-31 21:30:09 +0200
committerGitHub <noreply@github.com>2022-08-31 21:30:09 +0200
commit22c5c83a680b17a01669e01246cc7b39cea5c8d2 (patch)
tree18fcc2604253c4cb5244c22915e86e073c5bf5f7 /compiler/rustc_error_messages/src
parent2af2cda32a251d792bfef58e49a25a866f622766 (diff)
parent7ce59ebf496590c8b2ba3693c13e981d369add4b (diff)
downloadrust-22c5c83a680b17a01669e01246cc7b39cea5c8d2.tar.gz
rust-22c5c83a680b17a01669e01246cc7b39cea5c8d2.zip
Rollup merge of #100844 - evopen:migrate-diag, r=davidtwco
migrate rustc_query_system to use SessionDiagnostic

issues:
* variable list is not supported in fluent
* ~~cannot have two sub diagnostic with the same tag (eg. 2 .note or 2 .help)~~

allow multiple tag with SessionSubdiagnostic derive
Diffstat (limited to 'compiler/rustc_error_messages/src')
-rw-r--r--compiler/rustc_error_messages/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/src/lib.rs b/compiler/rustc_error_messages/src/lib.rs
index 42fb2d538b0..8f47be25db9 100644
--- a/compiler/rustc_error_messages/src/lib.rs
+++ b/compiler/rustc_error_messages/src/lib.rs
@@ -50,6 +50,7 @@ fluent_messages! {
     passes => "../locales/en-US/passes.ftl",
     plugin_impl => "../locales/en-US/plugin_impl.ftl",
     privacy => "../locales/en-US/privacy.ftl",
+    query_system => "../locales/en-US/query_system.ftl",
     save_analysis => "../locales/en-US/save_analysis.ftl",
     ty_utils => "../locales/en-US/ty_utils.ftl",
     typeck => "../locales/en-US/typeck.ftl",