about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compiler/rustc_resolve/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/macros.rs b/compiler/rustc_resolve/src/macros.rs
index 082c051e21e..39e30767da2 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));
             }