From: Matt Corallo Date: Mon, 28 Oct 2019 19:21:12 +0000 (-0400) Subject: Disable some useless lints X-Git-Tag: v0.0.12~185^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2019-10-useless-lints;p=rust-lightning Disable some useless lints --- diff --git a/src/lib.rs b/src/lib.rs index c6e4708a8..68924b57a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,12 @@ #![cfg_attr(not(feature = "fuzztarget"), deny(missing_docs))] #![forbid(unsafe_code)] +// 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)] + extern crate bitcoin; extern crate bitcoin_hashes; extern crate secp256k1;