[eddyb] rustc_codegen_llvm: remove unnecessary 'a from LlvmCodegenBackend impls.

This commit is contained in:
Eduard-Mihai Burtescu 2018-11-16 13:37:55 +02:00
parent 9f49a2626e
commit 47c84c4234

View File

@ -229,8 +229,8 @@ fn run_lto_pass_manager(
}
}
unsafe impl<'a> Send for LlvmCodegenBackend {} // Llvm is on a per-thread basis
unsafe impl<'a> Sync for LlvmCodegenBackend {}
unsafe impl Send for LlvmCodegenBackend {} // Llvm is on a per-thread basis
unsafe impl Sync for LlvmCodegenBackend {}
impl LlvmCodegenBackend {
pub fn new() -> Box<dyn CodegenBackend> {
@ -238,7 +238,7 @@ pub fn new() -> Box<dyn CodegenBackend> {
}
}
impl<'a> CodegenBackend for LlvmCodegenBackend {
impl CodegenBackend for LlvmCodegenBackend {
fn init(&self, sess: &Session) {
llvm_util::init(sess); // Make sure llvm is inited
}