diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 560748dbd6f..c53f28665f6 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -2048,7 +2048,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> { } if fn_decl.c_variadic { - gate_feature_post!(&self, c_variadic, span, "C-varaidic functions are unstable"); + gate_feature_post!(&self, c_variadic, span, "C-variadic functions are unstable"); } visit::walk_fn(self, fn_kind, fn_decl, span);