Skip to content

Commit 69842da

Browse files
committed
w
1 parent 7db4f5e commit 69842da

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
@@ -1539,7 +1539,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
15391539
base_path_ty: Ty<'tcx>,
15401540
captured_by_move_projs: Vec<&[Projection<'tcx>]>,
15411541
) -> bool {
1542-
// TODO: does htis make sense, why not use hte env of the `FnCtxt` here
1542+
// FIXME(#132279): Using `non_body_analysis` here feels wrong.
15431543
let needs_drop = |ty: Ty<'tcx>| {
15441544
ty.has_significant_drop(
15451545
self.tcx,

0 commit comments

Comments
 (0)