diff options
| author | Aurelia Molzer <5550310+HeroicKatora@users.noreply.github.com> | 2025-08-30 11:58:48 +0200 |
|---|---|---|
| committer | Aurelia Molzer <5550310+197g@users.noreply.github.com> | 2025-08-30 13:01:36 +0200 |
| commit | 354787b5ba8210070929e7454312c51da8e6f988 (patch) | |
| tree | 71582d7d87502b9e5fa4effd4dff9332055df2de /tests/ui/codegen/unsupported-static-initializer-in-const-array.rs | |
| parent | 539f8400e769ad6092b5fe1cac0ebe885e5543a8 (diff) | |
| download | rust-354787b5ba8210070929e7454312c51da8e6f988.tar.gz rust-354787b5ba8210070929e7454312c51da8e6f988.zip | |
Simplify select_unpredictable guard selection
Instead of a tuple, select the dropped value and its guard with two separate calls to the intrinsic which makes both calls have a pointer-valued argument that should be simpler in codegen. Use the same condition on all (not an inverted condition) to clarify the intent of parallel selection. This should also be a simpler value-dependency chain if the guard is deduced unused (i.e. drop_in_place a noop for the type).
Diffstat (limited to 'tests/ui/codegen/unsupported-static-initializer-in-const-array.rs')
0 files changed, 0 insertions, 0 deletions
