Skip to content
This repository has been 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

Closed
lavifb opened this issue Dec 11, 2018 · 2 comments
Closed

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

lavifb opened this issue Dec 11, 2018 · 2 comments

Comments

@lavifb
Copy link

lavifb commented Dec 11, 2018

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.

@BurntSushi
Copy link

See also #279

@lavifb
Copy link
Author

lavifb commented Dec 11, 2018

Oh nice. It looked like something small like that.

I'll close this issue then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants