From 6ab2667ee5f1fb3e40cd61fe9fd2160a87ee9ac9 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Fri, 29 Sep 2023 09:17:21 +0100 Subject: [PATCH] Add allow(renamed_and_removed_lints). It seems that we sometimes need this in addition to unknown_lints. Signed-off-by: Edmund Grimley Evans --- psa-crypto-sys/build.rs | 2 +- psa-crypto/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/psa-crypto-sys/build.rs b/psa-crypto-sys/build.rs index 4846894..f33c605 100644 --- a/psa-crypto-sys/build.rs +++ b/psa-crypto-sys/build.rs @@ -1,7 +1,7 @@ // Copyright 2020 Contributors to the Parsec project. // SPDX-License-Identifier: Apache-2.0 -#![allow(unknown_lints)] +#![allow(renamed_and_removed_lints, unknown_lints)] #![deny( nonstandard_style, dead_code, diff --git a/psa-crypto/src/lib.rs b/psa-crypto/src/lib.rs index 3878fa5..46e8acd 100644 --- a/psa-crypto/src/lib.rs +++ b/psa-crypto/src/lib.rs @@ -10,7 +10,7 @@ //! This abstraction is built on top of the `psa-crypto-sys` crate. #![cfg_attr(not(feature = "std"), no_std)] -#![allow(unknown_lints)] +#![allow(renamed_and_removed_lints, unknown_lints)] #![deny( nonstandard_style, dead_code,