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
|
@ -66,7 +66,7 @@ impl ty::layout::HasDataLayout for Builder<'_, '_, '_> {
|
|||
}
|
||||
|
||||
impl ty::layout::HasTyCtxt<'tcx> for Builder<'_, '_, 'tcx> {
|
||||
fn tcx<'a>(&'a self) -> TyCtxt<'tcx, 'tcx> {
|
||||
fn tcx(&self) -> TyCtxt<'tcx, 'tcx> {
|
||||
self.cx.tcx
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue