about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-09 00:29:15 +0900
committerGitHub <noreply@github.com>2020-01-09 00:29:15 +0900
commit1c9b8036bf25b68af7751a1db4a07f98808c0ee7 (patch)
treef071a06342742ca2f340cf44cc185b5af7d95f28 /src/test/debuginfo/enum-thinlto.rs
parent03fe834a23eb12679352eadd89c20ba251992cd4 (diff)
parent3acd34659453a92fe28308105a7b95230215e380 (diff)
downloadrust-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/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions