Skip to content
/ rust Public
forked from rust-lang/rust

Commit 62d5aaa

Browse files
committed
Adjust upvar.rs file path
1 parent e217f94 commit 62d5aaa

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir_build/src/thir/cx

1 file changed

+1
-1
lines changed

compiler/rustc_mir_build/src/thir/cx/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ impl<'tcx> Cx<'tcx> {
11831183
.temporary_scope(self.region_scope_tree, closure_expr.hir_id.local_id);
11841184
let var_ty = place.base_ty;
11851185

1186-
// The result of capture analysis in `rustc_hir_analysis/check/upvar.rs`represents a captured path
1186+
// The result of capture analysis in `rustc_hir_typeck/src/upvar.rs` represents a captured path
11871187
// as it's seen for use within the closure and not at the time of closure creation.
11881188
//
11891189
// That is we see expect to see it start from a captured upvar and not something that is local

0 commit comments

Comments
 (0)