Skip to content

Commit cfe9881

Browse files
The0x539krobelus
authored andcommitted
Suppress unknown_lints lint
This is to prevent stable from complaining about nightly-only lints. Closes fish-shell#10354
1 parent 6c0381c commit cfe9881

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ asan = []
7070
[lints]
7171
rust.non_camel_case_types = "allow"
7272
rust.non_upper_case_globals = "allow"
73+
rust.unknown_lints = "allow"
7374
rust.unstable_name_collisions = "allow"
7475
clippy.assigning_clones = "allow"
7576
clippy.bool_assert_comparison = "allow"

src/bin/fish_indent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! The fish_indent program.
22
3+
#![allow(unknown_lints)]
34
// Delete this once we require Rust 1.74.
45
#![allow(unstable_name_collisions)]
56
#![allow(clippy::incompatible_msrv)]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![cfg_attr(feature = "benchmark", feature(test))]
22
#![allow(non_camel_case_types)]
33
#![allow(non_upper_case_globals)]
4+
#![allow(unknown_lints)]
45
#![allow(unstable_name_collisions)]
56
#![allow(clippy::assigning_clones)]
67
#![allow(clippy::bool_assert_comparison)]

0 commit comments

Comments
 (0)