Fix typo in variadic C function warning

This commit is contained in:
varkor 2019-04-18 19:16:17 +01:00
parent c93c7e4e7c
commit fb2af77763

View File

@ -2048,7 +2048,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
} }
if fn_decl.c_variadic { 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); visit::walk_fn(self, fn_kind, fn_decl, span);