Remove needless lifetimes
This commit is contained in:
parent
0477e07272
commit
6ae80cf23f
19 changed files with 59 additions and 59 deletions
|
|
@ -239,9 +239,9 @@ impl<'a> Drop for DiagnosticHandlers<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe extern "C" fn report_inline_asm<'a, 'b>(cgcx: &'a CodegenContext<LlvmCodegenBackend>,
|
||||
msg: &'b 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