about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-11 19:43:44 +0000
committerbors <bors@rust-lang.org>2017-08-11 19:43:44 +0000
commita7e0d3a81f224649c8fcfc8ac3cb93f1e1107bea (patch)
treeaede5c10be8e1ee591381c67ddafadfbe5881a4c /src/rustllvm/RustWrapper.cpp
parentedd82ee9f09c74188f88440db6586ef8e5b1c0b2 (diff)
parentfaadd35ee5074aa85fa6e2078650b3e6f1fd4662 (diff)
downloadrust-a7e0d3a81f224649c8fcfc8ac3cb93f1e1107bea.tar.gz
rust-a7e0d3a81f224649c8fcfc8ac3cb93f1e1107bea.zip
Auto merge of #43750 - tbu-:pr_fn_unreachable, r=sfackler
Put `intrinsics::unreachable` on a possible path to stabilization

Mark it with the `unreachable` feature and put it into the `mem` module.
This is a pretty straight-forward API that can already be simulated in
stable Rust by using `transmute` to create an uninhabited enum that can
be matched.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions