Adjust upvar.rs file path
This commit is contained in:
parent
e217f94917
commit
62d5aaa8d4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue