about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/messages.ftl
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-02-18 04:50:11 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-02-18 04:50:33 +0000
commit693f7035f1a98cc9a640b045c9e996c8bb1606cd (patch)
tree3d9b9e9f20c1cb9a34896ec60068ee555b43973b /compiler/rustc_hir_analysis/messages.ftl
parentd88ffcdb8bfc6f8b917574c1693eb9764a20eff5 (diff)
downloadrust-693f7035f1a98cc9a640b045c9e996c8bb1606cd.tar.gz
rust-693f7035f1a98cc9a640b045c9e996c8bb1606cd.zip
Make E0599 a structured error
Diffstat (limited to 'compiler/rustc_hir_analysis/messages.ftl')
-rw-r--r--compiler/rustc_hir_analysis/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/messages.ftl b/compiler/rustc_hir_analysis/messages.ftl
index 5560d087e96..47d5976be09 100644
--- a/compiler/rustc_hir_analysis/messages.ftl
+++ b/compiler/rustc_hir_analysis/messages.ftl
@@ -387,6 +387,8 @@ hir_analysis_must_implement_not_function_span_note = required by this annotation
 
 hir_analysis_must_implement_one_of_attribute = the `#[rustc_must_implement_one_of]` attribute must be used with at least 2 args
 
+hir_analysis_no_variant_named = no variant named `{$ident}` found for enum `{$ty}`
+
 hir_analysis_not_supported_delegation = {$descr}
     .label = callee defined here