From fb2af77763c5c5b80961dbc4aacf6592a993444f Mon Sep 17 00:00:00 2001 From: varkor Date: Thu, 18 Apr 2019 19:16:17 +0100 Subject: [PATCH] Fix typo in variadic C function warning --- src/libsyntax/feature_gate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);