Downgrade a &mut self to &self.
This commit is contained in:
@@ -372,7 +372,7 @@ impl<'tcx> RegionConstraintCollector<'_, 'tcx> {
|
||||
&self.storage.data
|
||||
}
|
||||
|
||||
pub(super) fn start_snapshot(&mut self) -> RegionSnapshot {
|
||||
pub(super) fn start_snapshot(&self) -> RegionSnapshot {
|
||||
debug!("RegionConstraintCollector: start_snapshot");
|
||||
RegionSnapshot { any_unifications: self.storage.any_unifications }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user