about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-16 12:49:49 +0000
committerbors <bors@rust-lang.org>2019-10-16 12:49:49 +0000
commit53aca553ec08e62a0591806fcf0f706ee9f53778 (patch)
treec28baad6b2d8c9f854bf5f046027f4d7483bc7c7 /src/test/ui/iterators/iter-sum-overflow-debug.rs
parentbfc58789a4d08519e93aef517d5ffe17c113ba8e (diff)
parent4cc707cb7846c2a136daa42ea3498c5a92903189 (diff)
downloadrust-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