]> git.lizzy.rs Git - rust.git/commit
Review feedback: Added test with control flow merge of two borrows "before activation"
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 14 Dec 2017 22:30:05 +0000 (16:30 -0600)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 14 Dec 2017 22:30:05 +0000 (16:30 -0600)
commitd654cd3b8bdbeee7a0bf9dac89de7e3e4f535e99
treecc66091344d199cd46707677577ce346ebe58344
parentb0421fa7de7b309cf884ecd9b23f93bbbf237048
Review feedback: Added test with control flow merge of two borrows "before activation"

In reality the currently generated MIR has at least one of the activations
in a copy that occurs before the merge. But still, good to have a test,
in anticipation of that potentially changing...
src/test/run-pass/borrowck/two-phase-control-flow-split-before-activation.rs [new file with mode: 0644]