We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55acb2b commit 7c81b00Copy full SHA for 7c81b00
src/lib.rs
@@ -40,7 +40,6 @@
40
//!
41
//! Thank you kindly!
42
43
-#![cfg_attr(feature = "nightly", feature(panic_info_message))]
44
#![cfg_attr(docsrs, feature(doc_cfg))]
45
#![warn(clippy::print_stderr)]
46
#![warn(clippy::print_stdout)]
@@ -277,10 +276,6 @@ fn write_msg<P: AsRef<Path>>(
277
276
pub fn handle_dump(meta: &Metadata, panic_info: &PanicInfo<'_>) -> Option<PathBuf> {
278
let mut expl = String::new();
279
280
- #[cfg(feature = "nightly")]
281
- let message = panic_info.message().map(|m| format!("{}", m));
282
-
283
- #[cfg(not(feature = "nightly"))]
284
let message = match (
285
panic_info.payload().downcast_ref::<&str>(),
286
panic_info.payload().downcast_ref::<String>(),
0 commit comments