diff options
| author | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 20:19:19 -0400 |
|---|---|---|
| committer | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 20:19:19 -0400 |
| commit | e6b66784aca8564557485d902968ff7523cf30ca (patch) | |
| tree | 60c265f318a567634f2f6906bd5f1baa366885c5 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | 30e8adb1a766e8444586fef3953bf7715fe588e1 (diff) | |
| download | rust-e6b66784aca8564557485d902968ff7523cf30ca.tar.gz rust-e6b66784aca8564557485d902968ff7523cf30ca.zip | |
Bail out early if the type does not has a trivial Drop implementation.
If the type has a trivial Drop implementation, then it is probably irrelevant that the type was dropped immediately, since nothing important happens on drop. Hence, we can bail out early instead of doing some expensive checks.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
