From c8b541ab013839bd71412066c49c9724ba352acc Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Fri, 21 May 2021 13:50:43 +0800 Subject: [PATCH] Allow soft_unstable lint The #![rustfmt::skip] we used in ttrpc.rs has been marked as soft_unstable in rust 1.52(rust-lang/rust#82399) So we would got a build error like `error: custom inner attributes are unstable` This commit will fix this issue. Signed-off-by: Tim Zhang --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 701be681..f1b95e1d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,7 +35,7 @@ extern crate log; pub mod error; #[macro_use] pub mod common; -#[allow(clippy::type_complexity, clippy::too_many_arguments)] +#[allow(soft_unstable, clippy::type_complexity, clippy::too_many_arguments)] mod compiled { include!(concat!(env!("OUT_DIR"), "/mod.rs")); }