Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compatibility with 'deny(rust_2018_idioms)'
In crates with #![forbid|deny(rust_2018_idioms)] the code generated by the quick_error macro will now cause linter errors. This commit turns these on in the crate itself and fixes them in two ways: * blanket #[allow(unused)] was replaced with a more specific version * the lifetime in std::fmt::Formatter types is declareed
- Loading branch information
Showing
1 changed file
with
24 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters