Skip to content

Commit 81bc367

Browse files
committed
fix ci warning
1 parent 75580aa commit 81bc367

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

embedded-can/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
33
#![warn(missing_docs)]
44
#![no_std]
5+
// disable warning for already-stabilized features.
6+
// Needed to pass CI, because we deny warnings.
7+
// We don't immediately remove them to not immediately break older nightlies.
8+
// When all features are stable, we'll remove them.
9+
#![cfg_attr(nightly, allow(stable_features, unknown_lints))]
10+
#![cfg_attr(nightly, feature(async_fn_in_trait, impl_trait_projections))]
511
#![allow(async_fn_in_trait)]
612

713
pub mod asynch;

0 commit comments

Comments
 (0)