Merge pull request #175 from TheBlueMatt/2019-10-useless-lints

Disable some useless lints
This commit is contained in:
Andrew Poelstra 2019-10-28 20:02:45 +00:00 committed by GitHub
commit 0db164622f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,12 @@
#![deny(unused_mut)]
#![warn(missing_docs)]
// In general, rust is absolutely horrid at supporting users doing things like,
// for example, compiling Rust code for real environments. Disable useless lints
// that don't do anything but annoy us and cant actually ever be resolved.
#![allow(bare_trait_objects)]
#![allow(ellipsis_inclusive_range_patterns)]
#![cfg_attr(feature = "dev", allow(unstable_features))]
#![cfg_attr(feature = "dev", feature(plugin))]
#![cfg_attr(feature = "dev", plugin(clippy))]