Add top level clippy allow const_static_lifetime

github: cc: #205
This commit is contained in:
David Kellum 2018-01-12 15:11:47 -08:00
parent ac48f514bc
commit f93c8a993d
1 changed files with 6 additions and 0 deletions

View File

@ -387,6 +387,12 @@
#![deny(missing_docs)] #![deny(missing_docs)]
#![deny(missing_debug_implementations)] #![deny(missing_debug_implementations)]
// The explicit 'static lifetimes are still needed for rustc 1.13-16
// backward compatibility, and this appeases clippy. If minimum rustc
// becomes 1.17, should be able to remove this, those 'static lifetimes,
// and use `static` in a lot of places `const` is used now.
#![allow(const_static_lifetime)]
extern crate time as oldtime; extern crate time as oldtime;
extern crate num; extern crate num;
#[cfg(feature = "rustc-serialize")] #[cfg(feature = "rustc-serialize")]