Downgrade a &mut self
to &self
.
This commit is contained in:
parent
8b05df44f9
commit
4df21f2ca0
@ -372,7 +372,7 @@ pub fn data(&self) -> &RegionConstraintData<'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 }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user