Uh oh!
There was an error while loading. Please reload this page.
panic_bounds_check: use caller_location, like PanicFnLangItem - #69850
Conversation
rust-highfive
commented
Mar 9, 2020
r? @KodrAus (rust_highfive has picked a reviewer for you, use r? to override) |
Centril
commented
Mar 9, 2020
r? @Centril @bors try @rust-timer queue r=me with clean perf |
rust-timer
commented
Mar 9, 2020
Awaiting bors try build completion |
bors
commented
Mar 9, 2020
panic_bounds_check: use caller_location, like PanicFnLangItem The `PanicFnLangItem` got switched to using `#[caller_location]` at some point, but `PanicBoundsCheckFnLangItem` was kept in the old style. For consistency, switch that one over to use `#[caller_location]` as well. This is also helpful for Miri as it means the `assert_panic` machine hook never needs to know the current `Span`.
Uh oh!
There was an error while loading. Please reload this page.
Centril
commented
Mar 9, 2020
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bors
commented
Mar 9, 2020
☀️ Try build successful - checks-azure |
rust-timer
commented
Mar 9, 2020
Queued 568fa7c with parent 2cb0b85, future comparison URL. |
rust-timer
commented
Mar 9, 2020
Finished benchmarking try commit 568fa7c, comparison URL. |
RalfJung
commented
Mar 9, 2020
Perf looks like noise to me. |
Centril
commented
Mar 10, 2020
r? @eddyb |
Uh oh!
There was an error while loading. Please reload this page.
7489d9c to
0b2329dCompareeddyb
commented
Mar 10, 2020
@bors r+ |
bors
commented
Mar 10, 2020
📌 Commit 0b2329d has been approved by |
bors
commented
Mar 10, 2020
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
Rollup of 8 pull requests Successful merges: - #66472 (--show-coverage json) - #69603 (tidy: replace `make check` with `./x.py test` in documentation) - #69760 (Improve expression & attribute parsing) - #69828 (fix memory leak when vec::IntoIter panics during drop) - #69850 (panic_bounds_check: use caller_location, like PanicFnLangItem) - #69876 (Add long error explanation for E0739) - #69888 ([Miri] Use a session variable instead of checking for an env var always) - #69893 (librustc_codegen_llvm: Use slices instead of 0-terminated strings) Failed merges: r? @ghost
The
PanicFnLangItemgot switched to using#[caller_location]at some point, butPanicBoundsCheckFnLangItemwas kept in the old style. For consistency, switch that one over to use#[caller_location]as well.This is also helpful for Miri as it means the
assert_panicmachine hook never needs to know the currentSpan.