mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Suppress unknown_lints lint
This is to prevent stable from complaining about nightly-only lints. Closes #10354
This commit is contained in:
parent
6c0381c335
commit
cfe9881eaa
3 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,7 @@ asan = []
|
|||
[lints]
|
||||
rust.non_camel_case_types = "allow"
|
||||
rust.non_upper_case_globals = "allow"
|
||||
rust.unknown_lints = "allow"
|
||||
rust.unstable_name_collisions = "allow"
|
||||
clippy.assigning_clones = "allow"
|
||||
clippy.bool_assert_comparison = "allow"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//! The fish_indent program.
|
||||
|
||||
#![allow(unknown_lints)]
|
||||
// Delete this once we require Rust 1.74.
|
||||
#![allow(unstable_name_collisions)]
|
||||
#![allow(clippy::incompatible_msrv)]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#![cfg_attr(feature = "benchmark", feature(test))]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(unstable_name_collisions)]
|
||||
#![allow(clippy::assigning_clones)]
|
||||
#![allow(clippy::bool_assert_comparison)]
|
||||
|
|
Loading…
Reference in a new issue