Skip to content

Commit 5734558

Browse files
committed
The future is now
1 parent 98bf737 commit 5734558

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc_mir/interpret/intern.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ for
162162
// Check if we have encountered this pointer+layout combination before.
163163
// Only recurse for allocation-backed pointers.
164164
if let Scalar::Ptr(ptr) = mplace.ptr {
165-
// In the future we will probably allow `& &mut T`, and thus will want to merge
166-
// `mutability` with `self.mutability` to only choose `Mutable` if both are
167-
// `Mutable`.
168-
169165
// We do not have any `frozen` logic here, because it's essentially equivalent to
170166
// the mutability except for the outermost item. Only `UnsafeCell` can "unfreeze",
171167
// and we check that in `visit_aggregate`.

0 commit comments

Comments
 (0)