Remove needless lifetimes

This commit is contained in:
Jeremy Stucki 2019-06-21 18:51:27 +02:00 committed by Jeremy Stucki
parent 0477e07272
commit 6ae80cf23f
No known key found for this signature in database
GPG key ID: 8F548A5A2ED13F58
19 changed files with 59 additions and 59 deletions

View file

@ -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());
}