From ed84d1d9052912d4d948313be72a6dd50c2baa26 Mon Sep 17 00:00:00 2001 From: Tom Martin Date: Thu, 30 Mar 2023 21:53:56 +0100 Subject: [PATCH] Fix typo --- compiler/rustc_resolve/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_resolve/src/macros.rs b/compiler/rustc_resolve/src/macros.rs index 082c051e21e5..39e30767da27 100644 --- a/compiler/rustc_resolve/src/macros.rs +++ b/compiler/rustc_resolve/src/macros.rs @@ -549,7 +549,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> { err.span_label(path.span, format!("not {} {}", article, expected)); if kind == MacroKind::Derive && ext.macro_kind() != MacroKind::Derive { - // Suggest moving the macro our of the derive() as the macro isn't Derive + // Suggest moving the macro out of the derive() as the macro isn't Derive err.span_help(path.span, "Remove from the surrounding `derive()`"); err.help(format!("Add as non-Derive macro\n`#[{}]`", path_str)); }