Skip to content

Commit

Permalink
Adjust upvar.rs file path
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Dec 16, 2024
1 parent e217f94 commit 62d5aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/src/thir/cx/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ impl<'tcx> Cx<'tcx> {
.temporary_scope(self.region_scope_tree, closure_expr.hir_id.local_id);
let var_ty = place.base_ty;

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

0 comments on commit 62d5aaa

Please sign in to comment.