This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit d7a750b
Michael Benfield
Use niche-filling optimization even when multiple variants have data.
Fixes rust-lang#462131 parent 1a08b96 commit d7a750b
File tree
13 files changed
+339
-159
lines changed- compiler
- rustc_ast/src
- rustc_const_eval/src/interpret
- rustc_data_structures/src/obligation_forest
- rustc_errors/src
- rustc_hir/src
- rustc_middle/src
- mir
- ty
- src
- librustdoc/clean
- test/ui
- stats
- structs-enums
13 files changed
+339
-159
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3075 | 3075 | | |
3076 | 3076 | | |
3077 | 3077 | | |
3078 | | - | |
| 3078 | + | |
| 3079 | + | |
3079 | 3080 | | |
3080 | 3081 | | |
3081 | 3082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
792 | 792 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
893 | | - | |
894 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
895 | 897 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3473 | 3473 | | |
3474 | 3474 | | |
3475 | 3475 | | |
3476 | | - | |
| 3476 | + | |
| 3477 | + | |
3477 | 3478 | | |
3478 | 3479 | | |
3479 | 3480 | | |
3480 | | - | |
3481 | | - | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
3482 | 3485 | | |
3483 | 3486 | | |
3484 | 3487 | | |
| |||
3490 | 3493 | | |
3491 | 3494 | | |
3492 | 3495 | | |
3493 | | - | |
3494 | | - | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
3495 | 3500 | | |
3496 | 3501 | | |
3497 | 3502 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1231 | 1231 | | |
1232 | 1232 | | |
1233 | 1233 | | |
1234 | | - | |
| 1234 | + | |
| 1235 | + | |
1235 | 1236 | | |
1236 | 1237 | | |
1237 | 1238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
832 | 836 | | |
0 commit comments