diff options
| author | bors <bors@rust-lang.org> | 2024-04-01 12:15:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-01 12:15:23 +0000 |
| commit | c82d168b79fbe1e0711eb199d6decdd847c92fba (patch) | |
| tree | f9a2e3d7e5318f4c8a1785e9eb983f536b258685 /tests/ui/patchable-function-entry | |
| parent | a6ddf5fb804f8f8cdde8682ab61d889387118004 (diff) | |
| parent | 7e8f2d8fd3ceece8051beed5add23191696646a9 (diff) | |
| download | rust-c82d168b79fbe1e0711eb199d6decdd847c92fba.tar.gz rust-c82d168b79fbe1e0711eb199d6decdd847c92fba.zip | |
Auto merge of #16979 - Nadrieril:contiguous-enum-id, r=Veykril
pattern analysis: Use contiguous indices for enum variants The main blocker to using the in-tree version of the `pattern_analysis` crate is that rustc requires enum indices to be contiguous because it uses `IndexVec`/`BitSet` for performance. Currently we swap these out for `FxHashMap`/`FxHashSet` when the `rustc` feature is off, but we can't do that if we use the in-tree crate. This PR solves the problem by using contiguous indices on the r-a side too.
Diffstat (limited to 'tests/ui/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
