]> git.lizzy.rs Git - rust.git/commit
Change order of copy and borrow to avoid conflict
authorMatthew Jasper <mjjasper1@gmail.com>
Sun, 29 Jul 2018 17:02:13 +0000 (18:02 +0100)
committerMatthew Jasper <mjjasper1@gmail.com>
Sun, 29 Jul 2018 17:04:09 +0000 (18:04 +0100)
commit18d5f821480803811f3f7ef866ef0ef8ae9bf9c1
tree318275b86f4dd8d0b0ef107c19cdd15eddf0fbd2
parent503455bcc7dd3acd31964504237735f5ef238520
Change order of copy and borrow to avoid conflict

Note that the first argument is `self as &mut dyn Delegate`, so this
isn't allowed with two-phase borrows.
src/librustc_passes/rvalue_promotion.rs