diff --git a/borsh-derive-internal/src/lib.rs b/borsh-derive-internal/src/lib.rs index e01b99c85..01ef40749 100644 --- a/borsh-derive-internal/src/lib.rs +++ b/borsh-derive-internal/src/lib.rs @@ -1,4 +1,6 @@ #![recursion_limit = "128"] +// TODO: re-enable this lint when we bump msrv to 1.58 +#![allow(clippy::uninlined_format_args)] mod attribute_helpers; mod enum_de; diff --git a/borsh-derive/src/lib.rs b/borsh-derive/src/lib.rs index 55f368b86..86ae04d58 100644 --- a/borsh-derive/src/lib.rs +++ b/borsh-derive/src/lib.rs @@ -1,3 +1,5 @@ +// TODO: re-enable this lint when we bump msrv to 1.58 +#![allow(clippy::uninlined_format_args)] extern crate proc_macro; use proc_macro::TokenStream; use proc_macro2::Span; diff --git a/borsh-schema-derive-internal/src/lib.rs b/borsh-schema-derive-internal/src/lib.rs index b75c1ee6a..23c1bb89a 100644 --- a/borsh-schema-derive-internal/src/lib.rs +++ b/borsh-schema-derive-internal/src/lib.rs @@ -1,4 +1,6 @@ #![recursion_limit = "128"] +// TODO: re-enable this lint when we bump msrv to 1.58 +#![allow(clippy::uninlined_format_args)] mod helpers; diff --git a/borsh/src/generate_schema_schema.rs b/borsh/src/generate_schema_schema.rs index f93bdb327..ed0fcac92 100644 --- a/borsh/src/generate_schema_schema.rs +++ b/borsh/src/generate_schema_schema.rs @@ -1,4 +1,6 @@ //! Generate `BorshSchemaCointainer` for `BorshSchemaContainer` and save it into a file. +// TODO: re-enable this lint when we bump msrv to 1.58 +#![allow(clippy::uninlined_format_args)] use borsh::schema::BorshSchema; use borsh::BorshSerialize; use std::fs::File; diff --git a/borsh/src/lib.rs b/borsh/src/lib.rs index 8db27c42e..cf51b18a1 100644 --- a/borsh/src/lib.rs +++ b/borsh/src/lib.rs @@ -1,4 +1,6 @@ #![cfg_attr(not(feature = "std"), no_std)] +// TODO: re-enable this lint when we bump msrv to 1.58 +#![allow(clippy::uninlined_format_args)] #[cfg(not(feature = "std"))] extern crate alloc;