diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-01-09 00:29:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-09 00:29:15 +0900 |
| commit | 1c9b8036bf25b68af7751a1db4a07f98808c0ee7 (patch) | |
| tree | f071a06342742ca2f340cf44cc185b5af7d95f28 /src/rustllvm/RustWrapper.cpp | |
| parent | 03fe834a23eb12679352eadd89c20ba251992cd4 (diff) | |
| parent | 3acd34659453a92fe28308105a7b95230215e380 (diff) | |
| download | rust-1c9b8036bf25b68af7751a1db4a07f98808c0ee7.tar.gz rust-1c9b8036bf25b68af7751a1db4a07f98808c0ee7.zip | |
Rollup merge of #67887 - anp:tracked-std-panics, r=nagisa
`Option::{expect,unwrap}` and `Result::{expect, expect_err, unwrap, unwrap_err}` have `#[track_caller]`
The annotated functions now produce panic messages pointing to the location where they were called, rather than `core`'s internals.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
