Skip to content

Commit 2afd531

Browse files
authored
Merge pull request #386 from TheBlueMatt/2019-10-useless-lints
Disable some useless lints
2 parents 2cb5133 + 5835120 commit 2afd531

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
#![cfg_attr(not(feature = "fuzztarget"), deny(missing_docs))]
1313
#![forbid(unsafe_code)]
1414

15+
// In general, rust is absolutely horrid at supporting users doing things like,
16+
// for example, compiling Rust code for real environments. Disable useless lints
17+
// that don't do anything but annoy us and cant actually ever be resolved.
18+
#![allow(bare_trait_objects)]
19+
#![allow(ellipsis_inclusive_range_patterns)]
20+
1521
extern crate bitcoin;
1622
extern crate bitcoin_hashes;
1723
extern crate secp256k1;

0 commit comments

Comments
 (0)