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

@ -66,7 +66,7 @@ impl ty::layout::HasDataLayout for Builder<'_, '_, '_> {
}
impl ty::layout::HasTyCtxt<'tcx> for Builder<'_, '_, 'tcx> {
fn tcx<'a>(&'a self) -> TyCtxt<'a, 'tcx, 'tcx> {
fn tcx<'a>(&'a self) -> TyCtxt<'tcx, 'tcx, 'tcx> {
self.cx.tcx
}
}