Stop disabling lints that no longer cause warnings on nightly
This commit is contained in:
parent
258789ed9b
commit
b1d28b73fd
|
|
@ -16,7 +16,6 @@
|
||||||
// Use the old lint name to build without warnings on stable until 1.51 is stable
|
// Use the old lint name to build without warnings on stable until 1.51 is stable
|
||||||
#![allow(clippy::unknown_clippy_lints)]
|
#![allow(clippy::unknown_clippy_lints)]
|
||||||
// The actual lints we want to disable
|
// The actual lints we want to disable
|
||||||
#![allow(clippy::from_iter_instead_of_collect)]
|
|
||||||
#![allow(clippy::unnecessary_wraps)]
|
#![allow(clippy::unnecessary_wraps)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|
|
||||||
|
|
@ -2,15 +2,6 @@
|
||||||
#![doc(html_favicon_url = "https://www.zfnd.org/images/zebra-favicon-128.png")]
|
#![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_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
|
||||||
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_script")]
|
#![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;
|
use displaydoc::Display;
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
// Use the old lint name to build without warnings on stable until 1.51 is stable
|
// Use the old lint name to build without warnings on stable until 1.51 is stable
|
||||||
#![allow(clippy::unknown_clippy_lints)]
|
#![allow(clippy::unknown_clippy_lints)]
|
||||||
// The actual lints we want to disable
|
// The actual lints we want to disable
|
||||||
#![allow(clippy::field_reassign_with_default)]
|
|
||||||
#![allow(clippy::unnecessary_wraps)]
|
#![allow(clippy::unnecessary_wraps)]
|
||||||
|
|
||||||
mod config;
|
mod config;
|
||||||
|
|
|
||||||
|
|
@ -15,15 +15,6 @@
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
#![allow(clippy::try_err)]
|
#![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 color_eyre::eyre::Result;
|
||||||
use eyre::WrapErr;
|
use eyre::WrapErr;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue