about summary refs log tree commit diff
path: root/src/libstd/sys_common/poison.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-18 06:02:35 +0000
committerbors <bors@rust-lang.org>2018-02-18 06:02:35 +0000
commit1ad094d81c97b3d2dd8e980ccd1475a80647540d (patch)
tree4ef130d008fe8e80a59a72d974eba196832a7fb4 /src/libstd/sys_common/poison.rs
parente8f03b9438d6516fd7067cfda2f09c925d6d92f2 (diff)
parent399dcd112725a35352075262863781b3355452cd (diff)
downloadrust-1ad094d81c97b3d2dd8e980ccd1475a80647540d.tar.gz
rust-1ad094d81c97b3d2dd8e980ccd1475a80647540d.zip
Auto merge of #47687 - SimonSapin:panic-impl, r=sfackler
RFC 2070 part 1: PanicInfo and Location API changes

This implements part of https://rust-lang.github.io/rfcs/2070-panic-implementation.html
Tracking issue: https://github.com/rust-lang/rust/issues/44489

* Move `std::panic::PanicInfo` and `std::panic::Location` to a new `core::panic` module. The two types and the `std` module were already `#[stable]` and stay that way, the new `core` module is `#[unstable]`.
* Add a new `PanicInfo::message(&self) -> Option<&fmt::Arguments>` method, which is `#[unstable]`.
* Implement `Display` for `PanicInfo` and `Location`
Diffstat (limited to 'src/libstd/sys_common/poison.rs')
0 files changed, 0 insertions, 0 deletions