summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-29 08:55:04 +0000
committerbors <bors@rust-lang.org>2023-04-29 08:55:04 +0000
commitf2299490c11b0c53ece5f6a13dd092fc9c99d264 (patch)
tree1be4d3a122a01fa76589e2bca4192689bd0b7ca1 /tests/rustdoc-js-std/parser-errors.js
parentaf2c7e0f9b5730b9598ca70fc67360fa69b469c8 (diff)
parent61fb5a91b794d7ab9c5f923b26c92cfc473b976b (diff)
downloadrust-f2299490c11b0c53ece5f6a13dd092fc9c99d264.tar.gz
Auto merge of #108106 - the8472:layout-opt, r=wesleywiser
Improve niche placement by trying two strategies and picking the better result Fixes #104807 Fixes #105371 Determining which sort order is better requires calculating the struct size (so we can calculate the niche offset). But that in turn depends on the field order, so happens after sorting. So the simple way to solve that is to run the whole thing twice and pick the better result. 1st commit is just code motion, the meat is in the later ones.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions