diff options
| author | bors <bors@rust-lang.org> | 2025-07-09 03:42:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-09 03:42:01 +0000 |
| commit | d350797b7e1a5b6952f5035cbad2a21613b32f6c (patch) | |
| tree | e55f42e65675d5faf6fe8872910d9650018eafb8 /tests/codegen | |
| parent | 34097a38afc9efdedf776d3f1c84a190ff334886 (diff) | |
| parent | c7ef03aeb7c33825e3d020c9e1791171e71cd445 (diff) | |
| download | rust-d350797b7e1a5b6952f5035cbad2a21613b32f6c.tar.gz rust-d350797b7e1a5b6952f5035cbad2a21613b32f6c.zip | |
Auto merge of #142707 - ashivaram23:drop_wildcard, r=dianqk
Apply effects to `otherwise` edge in dataflow analysis This allows `ElaborateDrops` to remove drops when a `match` wildcard arm covers multiple no-Drop enum variants. It modifies dataflow analysis to update the `MaybeUninitializedPlaces` and `MaybeInitializedPlaces` data for a block reached through an `otherwise` edge. Fixes rust-lang/rust#142705.
Diffstat (limited to 'tests/codegen')
0 files changed, 0 insertions, 0 deletions
