1
Fork 0

Handle C-variadic arguments properly when reporting region errors

This commit is contained in:
Fabian Wolff 2021-06-09 12:41:03 +02:00
parent d45d205d59
commit 7dccce0706
10 changed files with 218 additions and 69 deletions

View file

@ -652,7 +652,7 @@ impl<'a> AstValidator<'a> {
self.err_handler()
.struct_span_err(
*span,
"only foreign or `unsafe extern \"C\" functions may be C-variadic",
"only foreign or `unsafe extern \"C\"` functions may be C-variadic",
)
.emit();
}