Skip to content

Commit 3a00bf4

Browse files
committed
w
1 parent 72307e6 commit 3a00bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/upvar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
12571257
) -> Option<FxIndexSet<UpvarMigrationInfo>> {
12581258
let ty = self.resolve_vars_if_possible(self.node_ty(var_hir_id));
12591259

1260-
// TODO this sensible?
1260+
// FIXME(#132279): Using ` non_body_analysis` here feels wrong.
12611261
if !ty.has_significant_drop(
12621262
self.tcx,
12631263
ty::TypingEnv::non_body_analysis(self.tcx, closure_def_id),

0 commit comments

Comments
 (0)