]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_build/src/thir/cx/expr.rs
rustc_typeck to rustc_hir_analysis
[rust.git] / compiler / rustc_mir_build / src / thir / cx / expr.rs
index 3f8a9d21cd8d1dfb34a0d155e0e3f0d62d00877a..bcf2ed6817210542f46969908a47cf07fb810cc5 100644 (file)
@@ -998,7 +998,7 @@ fn convert_captured_hir_place(
             .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_typeck/check/upvar.rs`represents a captured path
+        // The result of capture analysis in `rustc_hir_analysis/check/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