diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2024-12-11 18:02:03 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2024-12-16 17:05:28 -0300 |
| commit | 62d5aaa8d41787770e850860144ed9cd9d241d2a (patch) | |
| tree | c6646a76b3ef7de58a4ba2973d68aa5152289d32 | |
| parent | e217f949179d7337d0cae303881449360937211f (diff) | |
| download | rust-62d5aaa8d41787770e850860144ed9cd9d241d2a.tar.gz rust-62d5aaa8d41787770e850860144ed9cd9d241d2a.zip | |
Adjust upvar.rs file path
| -rw-r--r-- | compiler/rustc_mir_build/src/thir/cx/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/thir/cx/expr.rs b/compiler/rustc_mir_build/src/thir/cx/expr.rs index d75f01dfba0..8814b0d47f6 100644 --- a/compiler/rustc_mir_build/src/thir/cx/expr.rs +++ b/compiler/rustc_mir_build/src/thir/cx/expr.rs @@ -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 |
