Skip to content

Commit ac862cf

Browse files
committed
Downgrade a &mut self to &self.
1 parent b235432 commit ac862cf

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer/region_constraints

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/region_constraints/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ impl<'tcx> RegionConstraintCollector<'_, 'tcx> {
372372
&self.storage.data
373373
}
374374

375-
pub(super) fn start_snapshot(&mut self) -> RegionSnapshot {
375+
pub(super) fn start_snapshot(&self) -> RegionSnapshot {
376376
debug!("RegionConstraintCollector: start_snapshot");
377377
RegionSnapshot { any_unifications: self.storage.any_unifications }
378378
}

0 commit comments

Comments
 (0)