Merge rust-bitcoin/rust-bitcoin#1641: Move deny lint checks to script
a1c3082319
Move deny lint checks to script (Harshil Jani) Pull request description: Closes #1551 Signed-off-by: Harshil Jani <harshiljani2002@gmail.com> ACKs for top commit: apoelstra: ACKa1c3082319
Kixunil: ACKa1c3082319
Tree-SHA512: 68632fcff175fa7f035ea10346fc36c1d593ba797e18955b01b8f38932e10327dbb36d9cbf95f65c29f68c5106e8b3364708b75ec3fd94c41cee6c994300eca7
This commit is contained in:
commit
7930a9ba5c
|
@ -36,14 +36,7 @@
|
||||||
#![cfg_attr(bench, feature(test))]
|
#![cfg_attr(bench, feature(test))]
|
||||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||||
// Coding conventions
|
// Coding conventions
|
||||||
#![deny(non_upper_case_globals)]
|
#![warn(missing_docs)]
|
||||||
#![deny(non_camel_case_types)]
|
|
||||||
#![deny(non_snake_case)]
|
|
||||||
#![deny(unused_mut)]
|
|
||||||
#![deny(dead_code)]
|
|
||||||
#![deny(unused_imports)]
|
|
||||||
#![deny(missing_docs)]
|
|
||||||
#![deny(unused_must_use)]
|
|
||||||
|
|
||||||
// Instead of littering the codebase for non-fuzzing code just globally allow.
|
// Instead of littering the codebase for non-fuzzing code just globally allow.
|
||||||
#![cfg_attr(fuzzing, allow(dead_code, unused_imports))]
|
#![cfg_attr(fuzzing, allow(dead_code, unused_imports))]
|
||||||
|
|
|
@ -78,11 +78,7 @@
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
// Coding conventions
|
// Coding conventions
|
||||||
#![deny(non_upper_case_globals)]
|
#![warn(missing_docs)]
|
||||||
#![deny(non_camel_case_types)]
|
|
||||||
#![deny(non_snake_case)]
|
|
||||||
#![deny(unused_mut)]
|
|
||||||
#![deny(missing_docs)]
|
|
||||||
|
|
||||||
// Experimental features we need.
|
// Experimental features we need.
|
||||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||||
|
|
|
@ -11,14 +11,7 @@
|
||||||
// Experimental features we need.
|
// Experimental features we need.
|
||||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||||
// Coding conventions
|
// Coding conventions
|
||||||
#![deny(non_upper_case_globals)]
|
#![warn(missing_docs)]
|
||||||
#![deny(non_camel_case_types)]
|
|
||||||
#![deny(non_snake_case)]
|
|
||||||
#![deny(unused_mut)]
|
|
||||||
#![deny(dead_code)]
|
|
||||||
#![deny(unused_imports)]
|
|
||||||
#![deny(missing_docs)]
|
|
||||||
#![deny(unused_must_use)]
|
|
||||||
|
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
|
|
Loading…
Reference in New Issue