Skip to content

Commit d56ef16

Browse files
Rollup merge of #152806 - RalfJung:interpret-typo, r=Kivooeo
interpret: fix comment typo Pointed out in #152756 (review) after that PR already had been rolled up.
2 parents 634ea73 + 3cb093a commit d56ef16

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

compiler/rustc_const_eval/src/interpret/validity.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,9 @@ impl<'rt, 'tcx, M: Machine<'tcx>> ValidityVisitor<'rt, 'tcx, M> {
647647
}
648648
} else {
649649
// This is not CTFE, so it's Miri with recursive checking.
650-
// FIXME: should we also `UnsafeCell` behind shared references? Currently that is not
651-
// needed since validation reads bypass Stacked Borrows and data race checks.
650+
// FIXME: should we skip `UnsafeCell` behind shared references? Currently that is
651+
// not needed since validation reads bypass Stacked Borrows and data race checks,
652+
// but is that really coherent?
652653
}
653654
let path = &self.path;
654655
ref_tracking.track(place, || {

0 commit comments

Comments
 (0)