Make the lifetime parameters of tcx consistent.
This commit is contained in:
parent
a9da8fc9c2
commit
cd9a0cf537
2 changed files with 4 additions and 4 deletions
|
@ -123,9 +123,9 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
|
|||
) -> EncodedMetadata {
|
||||
base::write_metadata(tcx, metadata)
|
||||
}
|
||||
fn codegen_allocator(
|
||||
fn codegen_allocator<'b, 'gcx>(
|
||||
&self,
|
||||
tcx: TyCtxt<'_, '_, '_>,
|
||||
tcx: TyCtxt<'b, 'gcx, 'gcx>,
|
||||
mods: &mut ModuleLlvm,
|
||||
kind: AllocatorKind
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue