rustc: remove some unnecessary lifetimes in -> TyCtxt methods.

This commit is contained in:
Eduard-Mihai Burtescu 2019-06-05 17:03:08 +03:00
parent 17cdd356da
commit 21ac960334
14 changed files with 28 additions and 41 deletions

View file

@ -838,7 +838,7 @@ impl HasTargetSpec for CodegenCx<'ll, 'tcx> {
}
impl ty::layout::HasTyCtxt<'tcx> for CodegenCx<'ll, 'tcx> {
fn tcx<'a>(&'a self) -> TyCtxt<'tcx, 'tcx> {
fn tcx(&self) -> TyCtxt<'tcx, 'tcx> {
self.tcx
}
}