Rename folder traits' tcx method to interner

This commit is contained in:
Alan Egerton
2023-02-11 09:18:12 +00:00
parent 459e142413
commit 63ad5d0522
33 changed files with 91 additions and 87 deletions

View File

@@ -860,7 +860,7 @@ pub struct RegionReplacer<'a, 'tcx> {
}
impl<'a, 'tcx> TypeFolder<TyCtxt<'tcx>> for RegionReplacer<'a, 'tcx> {
fn tcx<'b>(&'b self) -> TyCtxt<'tcx> {
fn interner(&self) -> TyCtxt<'tcx> {
self.tcx
}