We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d4e4d commit 153bfa0Copy full SHA for 153bfa0
compiler/rustc_const_eval/src/transform/check_consts/resolver.rs
@@ -224,9 +224,6 @@ where
224
225
// We ignore borrow on drop because custom drop impls are not allowed in consts.
226
// FIXME: Reconsider if accounting for borrows in drops is necessary for const drop.
227
-
228
- // We need to assign qualifs to the dropped location before visiting the operand that
229
- // replaces it since qualifs can be cleared on move.
230
self.super_terminator(terminator, location);
231
}
232
0 commit comments