Skip to content

no method named message found for reference &PanicHookInfo<'_> in the current scope #13

Closed
@HurricanePootis

Description

@HurricanePootis

System

Arch Linux
rustup nightly

Build environment

Using the AUR script, trying to update to 1.4.3 🐱

The error 😟

error[E0599]: no method named `message` found for reference `&PanicHookInfo<'_>` in the current scope
  --> src/main.rs:60:31
   |
60 |         if let Some(m) = info.message() {
   |                               ^^^^^^^ method not found in `&PanicHookInfo<'_>`

This happens on 1.4.1 through 1.4.3, so maybe perhaps rust nightly changed something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions