1
Fork 0

Track causes for universes created during borrowck

This commit is contained in:
Matthew Jasper 2021-03-07 14:41:45 +00:00 committed by Rémy Rakic
parent e271383c6b
commit 5e6027c6bf
9 changed files with 329 additions and 129 deletions

View file

@ -1506,7 +1506,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
self.inner.borrow_mut().projection_cache().clear();
}
fn universe(&self) -> ty::UniverseIndex {
pub fn universe(&self) -> ty::UniverseIndex {
self.universe.get()
}