We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
'a
LlvmCodegenBackend
1 parent 9f49a26 commit 47c84c4Copy full SHA for 47c84c4
src/librustc_codegen_llvm/lib.rs
@@ -229,16 +229,16 @@ impl WriteBackendMethods for LlvmCodegenBackend {
229
}
230
231
232
-unsafe impl<'a> Send for LlvmCodegenBackend {} // Llvm is on a per-thread basis
233
-unsafe impl<'a> Sync for LlvmCodegenBackend {}
+unsafe impl Send for LlvmCodegenBackend {} // Llvm is on a per-thread basis
+unsafe impl Sync for LlvmCodegenBackend {}
234
235
impl LlvmCodegenBackend {
236
pub fn new() -> Box<dyn CodegenBackend> {
237
box LlvmCodegenBackend(())
238
239
240
241
-impl<'a> CodegenBackend for LlvmCodegenBackend {
+impl CodegenBackend for LlvmCodegenBackend {
242
fn init(&self, sess: &Session) {
243
llvm_util::init(sess); // Make sure llvm is inited
244
0 commit comments