Skip to content

Commit c8b541a

Browse files
committed
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 <[email protected]>
1 parent f8b10c6 commit c8b541a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ extern crate log;
3535
pub mod error;
3636
#[macro_use]
3737
pub mod common;
38-
#[allow(clippy::type_complexity, clippy::too_many_arguments)]
38+
#[allow(soft_unstable, clippy::type_complexity, clippy::too_many_arguments)]
3939
mod compiled {
4040
include!(concat!(env!("OUT_DIR"), "/mod.rs"));
4141
}

0 commit comments

Comments
 (0)