From a468f131628341ff83bdabd1133f432c17fa1cbe Mon Sep 17 00:00:00 2001 From: nidnogg Date: Wed, 17 Aug 2022 13:13:07 -0300 Subject: [PATCH] Hotfix for duplicated slug name on VarStillRepeating struct --- compiler/rustc_expand/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_expand/src/errors.rs b/compiler/rustc_expand/src/errors.rs index 3f62120b1c81..0d7e137c7dd0 100644 --- a/compiler/rustc_expand/src/errors.rs +++ b/compiler/rustc_expand/src/errors.rs @@ -40,7 +40,7 @@ pub(crate) struct VarStillRepeating { } #[derive(SessionDiagnostic)] -#[error(expand::var_still_repeating)] +#[error(expand::meta_var_dif_seq_matchers)] pub(crate) struct MetaVarsDifSeqMatchers { #[primary_span] pub span: Span,