From 2cee7604046e5433f4bfcabd5b964faca1cc5949 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 16 Nov 2024 13:41:49 +0800 Subject: [PATCH] turn rust_2024_compatibility lints into warnings --- nac3artiq/src/lib.rs | 2 +- nac3ast/src/lib.rs | 2 +- nac3core/src/lib.rs | 2 +- nac3ld/src/lib.rs | 2 +- nac3parser/src/lib.rs | 4 ++-- nac3standalone/src/main.rs | 2 +- runkernel/src/main.rs | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nac3artiq/src/lib.rs b/nac3artiq/src/lib.rs index e66c9d7c..553264d8 100644 --- a/nac3artiq/src/lib.rs +++ b/nac3artiq/src/lib.rs @@ -2,9 +2,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow( unsafe_op_in_unsafe_fn, diff --git a/nac3ast/src/lib.rs b/nac3ast/src/lib.rs index 51c703f8..e3139460 100644 --- a/nac3ast/src/lib.rs +++ b/nac3ast/src/lib.rs @@ -2,9 +2,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow( clippy::missing_errors_doc, diff --git a/nac3core/src/lib.rs b/nac3core/src/lib.rs index a7e20aab..c2faade9 100644 --- a/nac3core/src/lib.rs +++ b/nac3core/src/lib.rs @@ -2,9 +2,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow( dead_code, diff --git a/nac3ld/src/lib.rs b/nac3ld/src/lib.rs index 4946785e..4d5a51f0 100644 --- a/nac3ld/src/lib.rs +++ b/nac3ld/src/lib.rs @@ -2,9 +2,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow( clippy::cast_possible_truncation, diff --git a/nac3parser/src/lib.rs b/nac3parser/src/lib.rs index 86b4045d..6f3fcaa4 100644 --- a/nac3parser/src/lib.rs +++ b/nac3parser/src/lib.rs @@ -19,9 +19,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow( clippy::enum_glob_use, @@ -49,11 +49,11 @@ lalrpop_mod!( future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, unused, clippy::all, clippy::pedantic )] + #[warn(rust_2024_compatibility)] python ); pub mod config_comment_helper; diff --git a/nac3standalone/src/main.rs b/nac3standalone/src/main.rs index 965d274e..698ff9cd 100644 --- a/nac3standalone/src/main.rs +++ b/nac3standalone/src/main.rs @@ -2,9 +2,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow(clippy::too_many_lines, clippy::wildcard_imports)] diff --git a/runkernel/src/main.rs b/runkernel/src/main.rs index 572f0098..fa99f693 100644 --- a/runkernel/src/main.rs +++ b/runkernel/src/main.rs @@ -2,9 +2,9 @@ future_incompatible, let_underscore, nonstandard_style, - rust_2024_compatibility, clippy::all )] +#![warn(rust_2024_compatibility)] #![warn(clippy::pedantic)] #![allow(clippy::semicolon_if_nothing_returned, clippy::uninlined_format_args)]