diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-05-14 21:57:51 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-14 21:57:51 +0000 |
| commit | 4567eff78ed486cea623f0864c3c10d6e528ae64 (patch) | |
| tree | 551ff3bcfd9e9a4316b2dff59e732b409ab953ad | |
| parent | ae4827587ccfb9ee8c65eb2d56439e3df3c052d0 (diff) | |
| parent | 2d65373f637a78b1321a80898f9f5f94fcaefca4 (diff) | |
Merge #1455
1455: Remove unused `feature(type_alias_impl_trait)`. r=Dirbaio a=Dirbaio
bors r+
Co-authored-by: Dario Nieuwenhuis <[email protected]>
| -rw-r--r-- | embassy-embedded-hal/src/lib.rs | 5 | ||||
| -rw-r--r-- | embassy-net/src/lib.rs | 5 | ||||
| -rw-r--r-- | embassy-nrf/src/lib.rs | 5 | ||||
| -rw-r--r-- | embassy-stm32/src/lib.rs | 5 | ||||
| -rw-r--r-- | embassy-usb/src/lib.rs | 1 |
5 files changed, 4 insertions, 17 deletions
diff --git a/embassy-embedded-hal/src/lib.rs b/embassy-embedded-hal/src/lib.rs index a23fbdc41..a783151e4 100644 --- a/embassy-embedded-hal/src/lib.rs +++ b/embassy-embedded-hal/src/lib.rs | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![cfg_attr( | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections, try_blocks))] |
| 3 | feature = "nightly", | ||
| 4 | feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections, try_blocks) | ||
| 5 | )] | ||
| 6 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] |
| 7 | #![warn(missing_docs)] | 4 | #![warn(missing_docs)] |
| 8 | 5 | ||
diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 5dfb5843e..b80784c2b 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![cfg_attr( | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | feature = "nightly", | ||
| 4 | feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) | ||
| 5 | )] | ||
| 6 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] |
| 7 | 4 | ||
| 8 | // This mod MUST go first, so that the others see its macros. | 5 | // This mod MUST go first, so that the others see its macros. |
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 6e7aaa57a..7c60b32b2 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![cfg_attr( | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | feature = "nightly", | ||
| 4 | feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) | ||
| 5 | )] | ||
| 6 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] |
| 7 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
| 8 | #![warn(missing_docs)] | 5 | #![warn(missing_docs)] |
diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index b3dbe1e2f..1b6f83c3e 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![cfg_attr( | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | feature = "nightly", | ||
| 4 | feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) | ||
| 5 | )] | ||
| 6 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] |
| 7 | 4 | ||
| 8 | // This must go FIRST so that all the other modules see its macros. | 5 | // This must go FIRST so that all the other modules see its macros. |
diff --git a/embassy-usb/src/lib.rs b/embassy-usb/src/lib.rs index 3016b81cb..d8563d59a 100644 --- a/embassy-usb/src/lib.rs +++ b/embassy-usb/src/lib.rs | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(type_alias_impl_trait)] | ||
| 3 | #![doc = include_str!("../README.md")] | 2 | #![doc = include_str!("../README.md")] |
| 4 | #![warn(missing_docs)] | 3 | #![warn(missing_docs)] |
| 5 | 4 | ||
