Downgrade a &mut self to &self.

This commit is contained in:
Nicholas Nethercote 2024-10-03 14:33:28 +10:00
parent 8b05df44f9
commit 4df21f2ca0

View File

@ -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 }
}