1
Fork 0

rustc: replace TyCtxt<'a, 'gcx, 'tcx> with TyCtxt<'tcx, 'gcx, 'tcx>.

This commit is contained in:
Eduard-Mihai Burtescu 2019-06-11 22:03:44 +03:00
parent 3f511ade5b
commit 37799a5552
292 changed files with 1824 additions and 1838 deletions

View file

@ -109,7 +109,7 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
fn write_compressed_metadata<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'gcx>,
tcx: TyCtxt<'gcx, 'gcx, 'gcx>,
metadata: &EncodedMetadata,
llvm_module: &mut ModuleLlvm
) {
@ -117,7 +117,7 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
}
fn codegen_allocator<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'gcx>,
tcx: TyCtxt<'gcx, 'gcx, 'gcx>,
mods: &mut ModuleLlvm,
kind: AllocatorKind
) {
@ -125,7 +125,7 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
}
fn compile_codegen_unit<'a, 'tcx: 'a>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
cgu_name: InternedString,
) {
base::compile_codegen_unit(tcx, cgu_name);
@ -286,7 +286,7 @@ impl CodegenBackend for LlvmCodegenBackend {
fn codegen_crate<'b, 'tcx>(
&self,
tcx: TyCtxt<'b, 'tcx, 'tcx>,
tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
metadata: EncodedMetadata,
need_metadata_module: bool,
rx: mpsc::Receiver<Box<dyn Any + Send>>