From f09ff2a9de86f0a55a138fc2019e4d1dc68c11ab Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 28 Oct 2019 15:20:04 -0400 Subject: [PATCH] Disable some useless lints --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 0863ded..aabef56 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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))]