From 7598c50dbaa2abcbd417d96a02743269f666597b Mon Sep 17 00:00:00 2001 From: Hocuri Date: Sun, 3 Jul 2022 13:05:16 +0200 Subject: [PATCH] Turn off hard errors for lints (#3441) It happened multiple times now that I wanted to quickly execute a test, but because of a warning that had become an error, it didn't execute. This turns warnings into warnings again; our CI will fail if there is a warning, anyway (because of RUSTFLAGS: -Dwarnings) --- deltachat-ffi/src/lib.rs | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deltachat-ffi/src/lib.rs b/deltachat-ffi/src/lib.rs index 7b16e6af9..37596b523 100644 --- a/deltachat-ffi/src/lib.rs +++ b/deltachat-ffi/src/lib.rs @@ -1,4 +1,4 @@ -#![deny(unused, clippy::all)] +#![warn(unused, clippy::all)] #![allow( non_camel_case_types, non_snake_case, diff --git a/src/lib.rs b/src/lib.rs index 4a76bbb0a..e3c5a0971 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ #![recursion_limit = "256"] #![forbid(unsafe_code)] -#![deny( +#![warn( unused, clippy::correctness, missing_debug_implementations,