Skip to content

Issues when compiling the crate #53

Description

@MegaKonami

Whenever I run cargo run using the nightly branch, the following error occurs:

error[E0599]: no method named `backtrace` found for reference `&dyn StdError` in the current scope
  --> C:\Users\user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cargo-n64-0.2.0\src\lib.rs:62:36
   |
62 |     if let Some(backtrace) = error.backtrace() {
   |                                    ^^^^^^^^^ method not found in `&dyn Error`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `cargo-n64` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...

What can cause this and what can I do to fix this?

Running Windows 11 with latest Rust Nightly but possibly out-of-date Rust Stable.

Also, I'm fairly new to Rust things, so try and explain them like I'm 5 years old.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions