about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-10-12 17:01:55 +0200
committerUrgau <urgau@numericable.fr>2023-10-12 18:39:35 +0200
commit001a65c4b0d82e3cc578f7172accb7bd6673f7e0 (patch)
tree531bb0c28c19f6ae83f1d53e9279b37d2ead102b /compiler/rustc_errors/src
parentdcfc484b094f28ed6579ad10dbdc2d18ddf59e4f (diff)
check-cfg: only print the list of expected names once
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic_builder.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_builder.rs b/compiler/rustc_errors/src/diagnostic_builder.rs
index 5e23ae655fe..85acf8ab5aa 100644
--- a/compiler/rustc_errors/src/diagnostic_builder.rs
+++ b/compiler/rustc_errors/src/diagnostic_builder.rs
@@ -659,6 +659,7 @@ impl<'a, G: EmissionGuarantee> DiagnosticBuilder<'a, G> {
         msg: impl Into<SubdiagnosticMessage>,
     ) -> &mut Self);
     forward!(pub fn help(&mut self, msg: impl Into<SubdiagnosticMessage>) -> &mut Self);
+    forward!(pub fn help_once(&mut self, msg: impl Into<SubdiagnosticMessage>) -> &mut Self);
     forward!(pub fn span_help(
         &mut self,
         sp: impl Into<MultiSpan>,