]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #67887 - anp:tracked-std-panics, r=nagisa
authorYuki Okushi <huyuumi.dev@gmail.com>
Wed, 8 Jan 2020 15:29:15 +0000 (00:29 +0900)
committerGitHub <noreply@github.com>
Wed, 8 Jan 2020 15:29:15 +0000 (00:29 +0900)
commit1c9b8036bf25b68af7751a1db4a07f98808c0ee7
treef071a06342742ca2f340cf44cc185b5af7d95f28
parent03fe834a23eb12679352eadd89c20ba251992cd4
parent3acd34659453a92fe28308105a7b95230215e380
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.