Skip to content

Commit

Permalink
Suppress unknown_lints lint
Browse files Browse the repository at this point in the history
This is to prevent stable from complaining about nightly-only lints.

Closes fish-shell#10354
  • Loading branch information
The0x539 authored and krobelus committed Mar 9, 2024
1 parent 6c0381c commit cfe9881
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/bin/fish_indent.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit cfe9881

Please sign in to comment.