]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_llvm/allocator.rs
Auto merge of #61421 - vorner:string-in-rc-into-raw-docs, r=RalfJung
[rust.git] / src / librustc_codegen_llvm / allocator.rs
index 9787b07ef8cc2cbca9b681dccaa6ed79464a16aa..27ec939dd29336b0b5258e8ce15d01e48f9c7da0 100644 (file)
@@ -9,7 +9,7 @@
 use crate::ModuleLlvm;
 use crate::llvm::{self, False, True};
 
-pub(crate) unsafe fn codegen(tcx: TyCtxt, mods: &mut ModuleLlvm, kind: AllocatorKind) {
+pub(crate) unsafe fn codegen(tcx: TyCtxt<'_, '_>, mods: &mut ModuleLlvm, kind: AllocatorKind) {
     let llcx = &*mods.llcx;
     let llmod = mods.llmod();
     let usize = match &tcx.sess.target.target.target_pointer_width[..] {