From 2d65373f637a78b1321a80898f9f5f94fcaefca4 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 14 May 2023 23:44:53 +0200 Subject: [PATCH] Remove unused `feature(type_alias_impl_trait)`. --- embassy-embedded-hal/src/lib.rs | 5 +---- embassy-net/src/lib.rs | 5 +---- embassy-nrf/src/lib.rs | 5 +---- embassy-stm32/src/lib.rs | 5 +---- 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 a23fbdc4..a783151e 100644 --- a/embassy-embedded-hal/src/lib.rs +++ b/embassy-embedded-hal/src/lib.rs @@ -1,8 +1,5 @@ #![cfg_attr(not(feature = "std"), no_std)] -#![cfg_attr( - feature = "nightly", - feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections, try_blocks) -)] +#![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections, try_blocks))] #![cfg_attr(feature = "nightly", allow(incomplete_features))] #![warn(missing_docs)] diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 5dfb5843..b80784c2 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs @@ -1,8 +1,5 @@ #![cfg_attr(not(feature = "std"), no_std)] -#![cfg_attr( - feature = "nightly", - feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) -)] +#![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] #![cfg_attr(feature = "nightly", allow(incomplete_features))] // 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 6e7aaa57..7c60b32b 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs @@ -1,8 +1,5 @@ #![no_std] -#![cfg_attr( - feature = "nightly", - feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) -)] +#![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] #![cfg_attr(feature = "nightly", allow(incomplete_features))] #![doc = include_str!("../README.md")] #![warn(missing_docs)] diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index b3dbe1e2..1b6f83c3 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -1,8 +1,5 @@ #![no_std] -#![cfg_attr( - feature = "nightly", - feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) -)] +#![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] #![cfg_attr(feature = "nightly", allow(incomplete_features))] // 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 3016b81c..d8563d59 100644 --- a/embassy-usb/src/lib.rs +++ b/embassy-usb/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(type_alias_impl_trait)] #![doc = include_str!("../README.md")] #![warn(missing_docs)]