diff options
| author | bors <bors@rust-lang.org> | 2023-12-01 02:08:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-01 02:08:51 +0000 |
| commit | c263ccf18571b4a3791e4c50dcae5473d6f9593a (patch) | |
| tree | 292300db070a51e574484838b848a0932c156527 /tests/rustdoc-js-std/regex.js | |
| parent | 1d726a2be0b9a762c5a15154e65f925994a58445 (diff) | |
| parent | 9d2c92377d1bf4d8b408b57b681bb6a04eb153a6 (diff) | |
| download | rust-c263ccf18571b4a3791e4c50dcae5473d6f9593a.tar.gz rust-c263ccf18571b4a3791e4c50dcae5473d6f9593a.zip | |
Auto merge of #118461 - celinval:smir-switch-targets, r=ouz-a
Change `SwitchTarget` representation in StableMIR The new structure encodes its invariant, which reduces the likelihood of having an inconsistent representation. It is also more intuitive and user friendly. I encapsulated the structure for now in case we decide to change it back. ### Notes: 1. I had to change the `Successors` type, since there's a conflict on the iterator type. We could potentially implement an iterator here, but I would prefer keeping it simple for now, and add a `successors_iter()` method if needed. 2. I removed `CoroutineDrop` for now since it we never create it. We can add it when we add support to other MIR stages.
Diffstat (limited to 'tests/rustdoc-js-std/regex.js')
0 files changed, 0 insertions, 0 deletions
