Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

compile broken by newest version of backtrace crate (0.3.10) #280

@lavifb

Description

@lavifb

failure crate will no longer compile with backtrace 0.3.10

It seems to have to do with some new added definition for fmt

Compiling failure v0.1.3
error[E0034]: multiple applicable items in scope
--> src/backtrace/mod.rs:132:20
|
132 | bt.fmt(f)
| ^^^ multiple fmt found
|
= note: candidate #1 is defined in an impl of the trait std::fmt::Debug for the type backtrace::backtrace::Backtrace
= note: candidate #2 is defined in an impl of the trait std::fmt::Display for the type backtrace::backtrace::Backtrace

error[E0034]: multiple applicable items in scope
--> src/backtrace/mod.rs:140:20
|
140 | bt.fmt(f)
| ^^^ multiple fmt found
|
= note: candidate #1 is defined in an impl of the trait std::fmt::Debug for the type backtrace::backtrace::Backtrace
= note: candidate #2 is defined in an impl of the trait std::fmt::Display for the type backtrace::backtrace::Backtrace

error: aborting due to 2 previous errors

For more information about this error, try rustc --explain E0034.
error: Could not compile failure.

To learn more, run the command again with --verbose.

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