about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGiacomo Pasini <giacomo@status.im>2023-03-07 20:01:22 +0100
committerGiacomo Pasini <giacomo@status.im>2023-03-07 20:01:22 +0100
commit153bfa06e5b8ff57ac5d9274c174c8230a7399eb (patch)
treec005df17f6e948df0607c8bbfe1fe77d7c09aa32
parentc5d4e4d907047580f028c6ca7b36a82ef94d28d1 (diff)
downloadrust-153bfa06e5b8ff57ac5d9274c174c8230a7399eb.tar.gz
rust-153bfa06e5b8ff57ac5d9274c174c8230a7399eb.zip
remove leftover comment
-rw-r--r--compiler/rustc_const_eval/src/transform/check_consts/resolver.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_const_eval/src/transform/check_consts/resolver.rs b/compiler/rustc_const_eval/src/transform/check_consts/resolver.rs
index 148aff9be4b..78c74e1892d 100644
--- a/compiler/rustc_const_eval/src/transform/check_consts/resolver.rs
+++ b/compiler/rustc_const_eval/src/transform/check_consts/resolver.rs
@@ -224,9 +224,6 @@ where
 
         // We ignore borrow on drop because custom drop impls are not allowed in consts.
         // FIXME: Reconsider if accounting for borrows in drops is necessary for const drop.
-
-        // We need to assign qualifs to the dropped location before visiting the operand that
-        // replaces it since qualifs can be cleared on move.
         self.super_terminator(terminator, location);
     }
 }