Fix typo in variadic C function warning
This commit is contained in:
parent
c93c7e4e7c
commit
fb2af77763
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user