about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2024-03-15 14:21:03 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2024-06-14 19:27:51 +0300
commit22d0b1ee18520ba32d3bc41ad3e85d91a5c73c24 (patch)
tree7d0897714c68d8a45cdcd26a8d315e253fb55a0f /compiler/rustc_parse/src/errors.rs
parent7ac6c2fc685681824fbfc156b38035df743881dd (diff)
downloadrust-22d0b1ee18520ba32d3bc41ad3e85d91a5c73c24.tar.gz
rust-22d0b1ee18520ba32d3bc41ad3e85d91a5c73c24.zip
delegation: Implement glob delegation
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
-rw-r--r--compiler/rustc_parse/src/errors.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs
index 6c1fcbe06fc..314f3f17dab 100644
--- a/compiler/rustc_parse/src/errors.rs
+++ b/compiler/rustc_parse/src/errors.rs
@@ -2699,12 +2699,13 @@ pub(crate) struct SingleColonImportPath {
 
 #[derive(Diagnostic)]
 #[diag(parse_bad_item_kind)]
-#[help]
 pub(crate) struct BadItemKind {
     #[primary_span]
     pub span: Span,
     pub descr: &'static str,
     pub ctx: &'static str,
+    #[help]
+    pub help: Option<()>,
 }
 
 #[derive(Diagnostic)]