diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-04-30 15:23:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 15:23:19 -0700 |
| commit | 1b62bb67da5f771008e23346b0c77750ef7f8c18 (patch) | |
| tree | 3c97b72a937b7f536c3be0d7a139f6ed423a184b /library/std/src/sys/unix/stack_overflow.rs | |
| parent | a8e0511b3288f40570812fe6524e0d80cf630f2c (diff) | |
| parent | a1aff18689470d733c5d9bdf1982a5ac3d4eb566 (diff) | |
| download | rust-1b62bb67da5f771008e23346b0c77750ef7f8c18.tar.gz rust-1b62bb67da5f771008e23346b0c77750ef7f8c18.zip | |
Rollup merge of #71691 - ecstatic-morse:const-unreachable, r=oli-obk,RalfJung
Allow `Unreachable` terminators unconditionally in const-checking If we ever actually reach an `Unreachable` terminator while executing, the MIR is ill-formed or the user's program is UB due to something like `unreachable_unchecked`. I don't think we need to forbid these in `qualify_min_const_fn`. r? @oli-obk
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
