From caab20c431a05dc3f01d3810ac13b6315f2d9b70 Mon Sep 17 00:00:00 2001 From: nidnogg Date: Wed, 17 Aug 2022 11:20:37 -0300 Subject: [PATCH] Moved structs to rustc_expand::errors, added several more migrations, fixed slug name --- compiler/rustc_expand/src/errors.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/rustc_expand/src/errors.rs b/compiler/rustc_expand/src/errors.rs index f8b8750a789..3f62120b1c8 100644 --- a/compiler/rustc_expand/src/errors.rs +++ b/compiler/rustc_expand/src/errors.rs @@ -1,6 +1,6 @@ use rustc_macros::SessionDiagnostic; +use rustc_span::symbol::MacroRulesNormalizedIdent; use rustc_span::Span; -use rustc_span::symbol::{MacroRulesNormalizedIdent}; #[derive(SessionDiagnostic)] #[error(expand::expr_repeat_no_syntax_vars)] @@ -46,5 +46,3 @@ pub(crate) struct MetaVarsDifSeqMatchers { pub span: Span, pub msg: String, } - -