about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-20 08:43:57 +0000
committerbors <bors@rust-lang.org>2024-09-20 08:43:57 +0000
commit2b11f265b68c151909aa7f31bfe49da1d788b317 (patch)
tree197c74998f3249fb9da89998d7f2d3c3b2b38a77 /compiler/rustc_const_eval/src
parent976487c48b4fe6eda910c75a42ba23118d560fe1 (diff)
parent937b09b389d17a07cd5e246696ac091aa53e35a1 (diff)
downloadrust-2b11f265b68c151909aa7f31bfe49da1d788b317.tar.gz
rust-2b11f265b68c151909aa7f31bfe49da1d788b317.zip
Auto merge of #130508 - adwinwhite:niche-not-depend-on-order, r=the8472
Get rid of niche selection's dependence on fields's order

Fixes #125630.
Use the optimal niche selection decided in `univariant()` rather than picking niche field manually.

r? `@the8472`
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions