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 e66c9d7c3..553264d83 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 51c703f8d..e31394602 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 a7e20aabe..c2faade9f 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 4946785eb..4d5a51f0a 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 86b4045dd..6f3fcaa42 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 965d274e3..698ff9cde 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 572f0098e..fa99f6933 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)]