Skip to content

version 2.0.3 fails to build when nightly feature is enabled #182

@skwerlman

Description

@skwerlman
error[E0599]: no method named `message` found for reference `&PanicHookInfo<'_>` in the current scope
   --> /home/sk/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/human-panic-2.0.3/src/lib.rs:281:30
    |
281 |     let message = panic_info.message().map(|m| format!("{}", m));
    |                              ^^^^^^^ method not found in `&PanicHookInfo<'_>`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `human-panic` (lib) due to 1 previous error

Spotted on rustdoc: https://docs.rs/crate/human-panic/2.0.3/builds/2301602

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions