about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-04-30 15:23:19 -0700
committerGitHub <noreply@github.com>2020-04-30 15:23:19 -0700
commit1b62bb67da5f771008e23346b0c77750ef7f8c18 (patch)
tree3c97b72a937b7f536c3be0d7a139f6ed423a184b /library/std/src/sys/unix/stack_overflow.rs
parenta8e0511b3288f40570812fe6524e0d80cf630f2c (diff)
parenta1aff18689470d733c5d9bdf1982a5ac3d4eb566 (diff)
downloadrust-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