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:
parent
374ad1b006
commit
a1f67ad949
18 changed files with 37 additions and 521 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue