]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Disable some useless lints 2019-10-useless-lints
authorMatt Corallo <git@bluematt.me>
Mon, 28 Oct 2019 19:21:12 +0000 (15:21 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 28 Oct 2019 19:21:57 +0000 (15:21 -0400)
src/lib.rs

index c6e4708a8ebadb933e794889d1378e6b34f24fdf..68924b57a36af64b7fc01b43efcb4733ca8f3dc7 100644 (file)
 #![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;