about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-06-13 17:05:32 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-06-19 09:52:35 +0200
commit5734558881353d5f95454f44c81d71c2293d047d (patch)
tree671f1e8668ce80e03a4c1ccfd5fce6733fa32448
parent98bf7376142633a6674668365d4ea47b9c5be287 (diff)
downloadrust-5734558881353d5f95454f44c81d71c2293d047d.tar.gz
rust-5734558881353d5f95454f44c81d71c2293d047d.zip
The future is now
-rw-r--r--src/librustc_mir/interpret/intern.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_mir/interpret/intern.rs b/src/librustc_mir/interpret/intern.rs
index 9bbcd306651..e43ebbffe90 100644
--- a/src/librustc_mir/interpret/intern.rs
+++ b/src/librustc_mir/interpret/intern.rs
@@ -162,10 +162,6 @@ for
             // Check if we have encountered this pointer+layout combination before.
             // Only recurse for allocation-backed pointers.
             if let Scalar::Ptr(ptr) = mplace.ptr {
-                // In the future we will probably allow `& &mut T`, and thus will want to merge
-                // `mutability` with `self.mutability` to only choose `Mutable` if both are
-                // `Mutable`.
-
                 // We do not have any `frozen` logic here, because it's essentially equivalent to
                 // the mutability except for the outermost item. Only `UnsafeCell` can "unfreeze",
                 // and we check that in `visit_aggregate`.