diff options
| author | bors <bors@rust-lang.org> | 2019-10-16 12:49:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-10-16 12:49:49 +0000 |
| commit | 53aca553ec08e62a0591806fcf0f706ee9f53778 (patch) | |
| tree | c28baad6b2d8c9f854bf5f046027f4d7483bc7c7 /src/test/ui/iterators/iter-sum-overflow-debug.rs | |
| parent | bfc58789a4d08519e93aef517d5ffe17c113ba8e (diff) | |
| parent | 4cc707cb7846c2a136daa42ea3498c5a92903189 (diff) | |
| download | rust-53aca553ec08e62a0591806fcf0f706ee9f53778.tar.gz rust-53aca553ec08e62a0591806fcf0f706ee9f53778.zip | |
Auto merge of #65172 - tanriol:explain_borrow-use-context-dominators, r=nagisa
use precalculated dominators in explain_borrow This looks like the only place calculating dominators from the MIR body every time instead of using the ones stored on the `MirBorrowckCtxt`. For example, in rust-lang/rust#65131 a big generated function with a number of borrowck errors takes a few hours(!) recalculating the dominators while explaining the errors. I don't know enough about this part of rustc codebase to know for sure that this change is correct, but no tests seem to fail as a result of this change in local testing.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions
