diff options
| author | Chris Morgan <me@chrismorgan.info> | 2013-09-05 16:41:27 +1000 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2013-09-05 16:41:27 +1000 |
| commit | 6b7b8f2682780306860a38cdc7138f603e859fde (patch) | |
| tree | b45ce5573c6910dc816bf89631ab3c187cfd64fb /src/rustllvm/RustWrapper.cpp | |
| parent | 2bd628eafab1225cdc59c468c32868302b5e92ed (diff) | |
| download | rust-6b7b8f2682780306860a38cdc7138f603e859fde.tar.gz rust-6b7b8f2682780306860a38cdc7138f603e859fde.zip | |
Add an ``unreachable!()`` macro.
Rationale: having a function which fails means that the location of failure which is output is that of the unreachable() function, rather than the caller. This is part of #8991 but is not all of it; current usage of ``std::util::unreachable()`` must remain so for the moment, until a new snapshot is made; then I will remove that function entirely in favour of using this macro.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
