We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98bf737 commit 5734558Copy full SHA for 5734558
src/librustc_mir/interpret/intern.rs
@@ -162,10 +162,6 @@ for
162
// Check if we have encountered this pointer+layout combination before.
163
// Only recurse for allocation-backed pointers.
164
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
-
169
// We do not have any `frozen` logic here, because it's essentially equivalent to
170
// the mutability except for the outermost item. Only `UnsafeCell` can "unfreeze",
171
// and we check that in `visit_aggregate`.
0 commit comments