Rollup merge of #152806 - RalfJung:interpret-typo, r=Kivooeo
interpret: fix comment typo Pointed out in https://github.com/rust-lang/rust/pull/152756#pullrequestreview-3819458236 after that PR already had been rolled up.
This commit is contained in:
commit
d56ef16097
1 changed files with 3 additions and 2 deletions
|
|
@ -647,8 +647,9 @@ impl<'rt, 'tcx, M: Machine<'tcx>> ValidityVisitor<'rt, 'tcx, M> {
|
|||
}
|
||||
} else {
|
||||
// This is not CTFE, so it's Miri with recursive checking.
|
||||
// FIXME: should we also `UnsafeCell` behind shared references? Currently that is not
|
||||
// needed since validation reads bypass Stacked Borrows and data race checks.
|
||||
// FIXME: should we skip `UnsafeCell` behind shared references? Currently that is
|
||||
// not needed since validation reads bypass Stacked Borrows and data race checks,
|
||||
// but is that really coherent?
|
||||
}
|
||||
let path = &self.path;
|
||||
ref_tracking.track(place, || {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue