We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
&mut self
&self
1 parent b235432 commit ac862cfCopy full SHA for ac862cf
compiler/rustc_infer/src/infer/region_constraints/mod.rs
@@ -372,7 +372,7 @@ impl<'tcx> RegionConstraintCollector<'_, 'tcx> {
372
&self.storage.data
373
}
374
375
- pub(super) fn start_snapshot(&mut self) -> RegionSnapshot {
+ pub(super) fn start_snapshot(&self) -> RegionSnapshot {
376
debug!("RegionConstraintCollector: start_snapshot");
377
RegionSnapshot { any_unifications: self.storage.any_unifications }
378
0 commit comments