I'm trying to use failure
in a 2018-edition crate, but I'm getting:
error: cannot find derive macro `Fail` in this scope
What do I need to import to make it work? use failure::Fail
doesn't fix it.
Edit: adding use failure::*
fixes it, though it gives me an unused import warning . I'd rather not use glob imports though, and instead actually know what I'm importing.