Stop disabling lints that no longer cause warnings on nightly

This commit is contained in:
teor 2021-01-19 06:39:20 +10:00 committed by Deirdre Connolly
parent 258789ed9b
commit b1d28b73fd
4 changed files with 0 additions and 20 deletions

View File

@ -16,7 +16,6 @@
// Use the old lint name to build without warnings on stable until 1.51 is stable
#![allow(clippy::unknown_clippy_lints)]
// The actual lints we want to disable
#![allow(clippy::from_iter_instead_of_collect)]
#![allow(clippy::unnecessary_wraps)]
#[macro_use]

View File

@ -2,15 +2,6 @@
#![doc(html_favicon_url = "https://www.zfnd.org/images/zebra-favicon-128.png")]
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_script")]
// Disable some broken or unwanted clippy nightly lints
// Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
#![allow(unknown_lints)]
// Disable old lint warnings on nightly until 1.51 is stable
#![allow(renamed_and_removed_lints)]
// Use the old lint name to build without warnings on stable until 1.51 is stable
#![allow(clippy::unknown_clippy_lints)]
// The actual lints we want to disable
#![allow(clippy::unnecessary_wraps)]
use displaydoc::Display;
#[cfg(windows)]

View File

@ -13,7 +13,6 @@
// Use the old lint name to build without warnings on stable until 1.51 is stable
#![allow(clippy::unknown_clippy_lints)]
// The actual lints we want to disable
#![allow(clippy::field_reassign_with_default)]
#![allow(clippy::unnecessary_wraps)]
mod config;

View File

@ -15,15 +15,6 @@
#![forbid(unsafe_code)]
#![allow(dead_code)]
#![allow(clippy::try_err)]
// Disable some broken or unwanted clippy nightly lints
// Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
#![allow(unknown_lints)]
// Disable old lint warnings on nightly until 1.51 is stable
#![allow(renamed_and_removed_lints)]
// Use the old lint name to build without warnings on stable until 1.51 is stable
#![allow(clippy::unknown_clippy_lints)]
// The actual lints we want to disable
#![allow(clippy::field_reassign_with_default)]
use color_eyre::eyre::Result;
use eyre::WrapErr;