Skip to content
Permalink
Browse files

Fix the tracking issue number for `PanicInfo::message`

#44489 was closed when the `#[panic_handler]` attribute was stabilized.
  • Loading branch information
SimonSapin committed Nov 26, 2019
1 parent 6ddcf50 commit 392e5a7150d0a7c0098631d92791a26013ba28cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libcore/panic.rs
@@ -94,7 +94,7 @@ impl<'a> PanicInfo<'a> {
/// returns that message ready to be used for example with [`fmt::write`]
///
/// [`fmt::write`]: ../fmt/fn.write.html
#[unstable(feature = "panic_info_message", issue = "44489")]
#[unstable(feature = "panic_info_message", issue = "66745")]
pub fn message(&self) -> Option<&fmt::Arguments<'_>> {
self.message
}

0 comments on commit 392e5a7

Please sign in to comment.
You can’t perform that action at this time.