Skip to content

Commit 0db1646

Browse files
authored
Merge pull request #175 from TheBlueMatt/2019-10-useless-lints
Disable some useless lints
2 parents 8dfdb90 + f09ff2a commit 0db1646

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
@@ -129,6 +129,12 @@
129129
#![deny(unused_mut)]
130130
#![warn(missing_docs)]
131131

132+
// In general, rust is absolutely horrid at supporting users doing things like,
133+
// for example, compiling Rust code for real environments. Disable useless lints
134+
// that don't do anything but annoy us and cant actually ever be resolved.
135+
#![allow(bare_trait_objects)]
136+
#![allow(ellipsis_inclusive_range_patterns)]
137+
132138
#![cfg_attr(feature = "dev", allow(unstable_features))]
133139
#![cfg_attr(feature = "dev", feature(plugin))]
134140
#![cfg_attr(feature = "dev", plugin(clippy))]

0 commit comments

Comments
 (0)