Skip to content

Commit 454f17f

Browse files
authored
Merge pull request #515 from rmsyn/fixup/io-async
io-async: fix warnings for latest nightly (1.75.0)
2 parents 8e66252 + fb30c9b commit 454f17f

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/clippy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
with:
1616
# embedded-hal-async needs nightly.
1717
# Use a pinned version to avoid spontaneous breakages (new clippy lints are added often)
18-
toolchain: nightly-2023-07-03
18+
toolchain: nightly-2023-10-14
1919
components: clippy
20-
- run: cargo clippy --all-features -- --deny=warnings
20+
- run: cargo clippy --all-features -- --deny=warnings

.github/workflows/rustdoc.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: dtolnay/rust-toolchain@master
1515
with:
16-
toolchain: nightly-2023-07-03
17-
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features
16+
toolchain: nightly-2023-10-14
17+
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features

embedded-hal-async/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// We don't immediately remove them to not immediately break older nightlies.
77
// When all features are stable, we'll remove them.
88
#![allow(stable_features)]
9+
#![allow(unknown_lints)]
10+
#![allow(async_fn_in_trait)]
911
#![feature(async_fn_in_trait, impl_trait_projections)]
1012

1113
pub mod delay;

embedded-io-async/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// We don't immediately remove them to not immediately break older nightlies.
88
// When all features are stable, we'll remove them.
99
#![allow(stable_features)]
10+
#![allow(unknown_lints)]
11+
#![allow(async_fn_in_trait)]
1012
#![feature(async_fn_in_trait, impl_trait_projections)]
1113

1214
#[cfg(feature = "alloc")]

0 commit comments

Comments
 (0)