Revert "Auto merge of #65134 - davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe"
This reverts commit3f0e16473d, reversing changes made to61a551b493.
This commit is contained in:
@@ -240,7 +240,9 @@ impl<'a> Drop for DiagnosticHandlers<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>, msg: &str, cookie: c_uint) {
|
||||
unsafe extern "C" fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>,
|
||||
msg: &str,
|
||||
cookie: c_uint) {
|
||||
cgcx.diag_emitter.inline_asm_error(cookie as u32, msg.to_owned());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user