mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
build fragmented map earlier to make its dependencies clearer.
This commit is contained in:
parent
494ce37ffe
commit
22796c8bad
|
@ -166,6 +166,9 @@ fn borrowck_fn(this: &mut BorrowckCtxt,
|
|||
this.tcx,
|
||||
sp,
|
||||
id);
|
||||
move_data::fragments::build_unfragmented_map(this,
|
||||
&flowed_moves.move_data,
|
||||
id);
|
||||
|
||||
check_loans::check_loans(this,
|
||||
&loan_dfcx,
|
||||
|
@ -175,10 +178,6 @@ fn borrowck_fn(this: &mut BorrowckCtxt,
|
|||
decl,
|
||||
body);
|
||||
|
||||
move_data::fragments::build_unfragmented_map(this,
|
||||
&flowed_moves.move_data,
|
||||
id);
|
||||
|
||||
visit::walk_fn(this, fk, decl, body, sp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue