Skip to content

Commit f64d3c7

Browse files
StrophoxRalfJung
andauthored
Add comment in compiler/rustc_const_eval/src/interpret/memory.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 4d592ba commit f64d3c7

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+1
-0
lines changed

compiler/rustc_const_eval/src/interpret/memory.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
966966
continue;
967967
}
968968

969+
// Expose all provenances in this allocation, and add them to `todo`.
969970
let alloc = self.get_alloc_raw(id)?;
970971
for prov in alloc.provenance().provenances() {
971972
M::expose_provenance(self, prov)?;

0 commit comments

Comments
 (0)