Unify all uses of 'gcx and 'tcx.
This commit is contained in:
parent
0e4a56b4b0
commit
f3f9d6dfd9
341 changed files with 3109 additions and 3327 deletions
|
@ -66,7 +66,7 @@ impl ty::layout::HasDataLayout for Builder<'_, '_, '_> {
|
|||
}
|
||||
|
||||
impl ty::layout::HasTyCtxt<'tcx> for Builder<'_, '_, 'tcx> {
|
||||
fn tcx(&self) -> TyCtxt<'tcx, 'tcx> {
|
||||
fn tcx(&self) -> TyCtxt<'tcx> {
|
||||
self.cx.tcx
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue