mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
Make the lifetime parameters of tcx consistent.
This commit is contained in:
parent
a9da8fc9c2
commit
cd9a0cf537
@ -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
|
||||
) {
|
||||
|
@ -38,9 +38,9 @@ pub trait ExtraBackendMethods: CodegenBackend + WriteBackendMethods + Sized + Se
|
||||
tcx: TyCtxt<'b, 'gcx, 'gcx>,
|
||||
metadata: &mut Self::Module,
|
||||
) -> EncodedMetadata;
|
||||
fn codegen_allocator(
|
||||
fn codegen_allocator<'b, 'gcx>(
|
||||
&self,
|
||||
tcx: TyCtxt<'_, '_, '_>,
|
||||
tcx: TyCtxt<'b, 'gcx, 'gcx>,
|
||||
mods: &mut Self::Module,
|
||||
kind: AllocatorKind
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user