rustc: remove some unnecessary lifetimes in -> TyCtxt methods.
This commit is contained in:
parent
17cdd356da
commit
21ac960334
14 changed files with 28 additions and 41 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue