forked from M-Labs/nac3
turn rust_2024_compatibility lints into warnings
This commit is contained in:
parent
230982dc84
commit
2cee760404
@ -2,9 +2,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(
|
#![allow(
|
||||||
unsafe_op_in_unsafe_fn,
|
unsafe_op_in_unsafe_fn,
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::missing_errors_doc,
|
clippy::missing_errors_doc,
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(
|
#![allow(
|
||||||
dead_code,
|
dead_code,
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::cast_possible_truncation,
|
clippy::cast_possible_truncation,
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::enum_glob_use,
|
clippy::enum_glob_use,
|
||||||
@ -49,11 +49,11 @@ lalrpop_mod!(
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
unused,
|
unused,
|
||||||
clippy::all,
|
clippy::all,
|
||||||
clippy::pedantic
|
clippy::pedantic
|
||||||
)]
|
)]
|
||||||
|
#[warn(rust_2024_compatibility)]
|
||||||
python
|
python
|
||||||
);
|
);
|
||||||
pub mod config_comment_helper;
|
pub mod config_comment_helper;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(clippy::too_many_lines, clippy::wildcard_imports)]
|
#![allow(clippy::too_many_lines, clippy::wildcard_imports)]
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
future_incompatible,
|
future_incompatible,
|
||||||
let_underscore,
|
let_underscore,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
rust_2024_compatibility,
|
|
||||||
clippy::all
|
clippy::all
|
||||||
)]
|
)]
|
||||||
|
#![warn(rust_2024_compatibility)]
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![allow(clippy::semicolon_if_nothing_returned, clippy::uninlined_format_args)]
|
#![allow(clippy::semicolon_if_nothing_returned, clippy::uninlined_format_args)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user