]> git.lizzy.rs Git - rust.git/commit
Make `fn move_path_for` take `&mut self` instead of `&self`. This is a
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 15 Mar 2016 14:03:21 +0000 (15:03 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 21 Mar 2016 17:36:23 +0000 (18:36 +0100)
commitdda892a83d337556fd48aca78c07c7d3f5df69bd
tree12637d31df84bfd5dd97140a9af3cb8b4a4fb600
parent9901768b4cf0472bb9e3c87750c69fcbe524a5e1
Make `fn move_path_for` take `&mut self` instead of `&self`. This is a
precursor for a number of other simplifying changes (mostly removing
uses of `RefCell`).

Factor lookup method out of `fn move_path_for`.
src/librustc_borrowck/borrowck/mir/gather_moves.rs