about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/path-ordering.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-09 11:49:09 +0000
committerbors <bors@rust-lang.org>2022-05-09 11:49:09 +0000
commite013f9e0ca4055930f931a30171c355de42f9f92 (patch)
treee4c6b675959522c6d5c1aae2add14b2c567deba5 /src/test/rustdoc-js-std/path-ordering.js
parent8a2fe75d0e6e024aa434e5b9c40adb2567f362b8 (diff)
parentb890037af3eb71fcdacec9ad6d92646715d18836 (diff)
downloadrust-e013f9e0ca4055930f931a30171c355de42f9f92.tar.gz
rust-e013f9e0ca4055930f931a30171c355de42f9f92.zip
Auto merge of #96815 - SparrowLii:promote_const, r=oli-obk
optimize `promote_consts` by caching the results of `validate_local`

From the FIXME in the impl of `promote_consts`. Early return the `validate_local` should save some compile time.

`qualif_local` is similar to this, but requires futher changing because there are different types of qualif checks. If this PR is effective, I will do it as well.
Diffstat (limited to 'src/test/rustdoc-js-std/path-ordering.js')
0 files changed, 0 insertions, 0 deletions