Skip to content

Commit

Permalink
Allow soft_unstable lint
Browse files Browse the repository at this point in the history
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 <tim@hyper.sh>
  • Loading branch information
Tim-Zhang committed May 21, 2021
1 parent f8b10c6 commit c8b541a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
Expand Down

0 comments on commit c8b541a

Please sign in to comment.