Cleanup message and bless tests

This commit is contained in:
Jack Huey 2022-10-23 19:11:25 -04:00
parent 65ef62597b
commit de78c32b85
6 changed files with 16 additions and 16 deletions

View file

@ -122,7 +122,7 @@ fn require_c_abi_if_c_variadic(tcx: TyCtxt<'_>, decl: &hir::FnDecl<'_>, abi: Abi
const CONVENTIONS_UNSTABLE: &str = "`C`, `cdecl`, `win64`, `sysv64` or `efiapi`";
const CONVENTIONS_STABLE: &str = "`C` or `cdecl`";
const UNSTABLE_EXPLAIN: &str =
"using different calling convention than `C` or `cdecl` for varargs functions is unstable";
"using calling conventions other than `C` or `cdecl` for varargs functions is unstable";
if !decl.c_variadic || matches!(abi, Abi::C { .. } | Abi::Cdecl { .. }) {
return;