diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 088d44b57..9a0e9c3a1 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs @@ -2,7 +2,6 @@ #![feature(generic_associated_types)] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[cfg(not(any( feature = "nrf51", diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs index 26ebbebfb..93dbb9cca 100644 --- a/embassy-rp/src/lib.rs +++ b/embassy-rp/src/lib.rs @@ -3,7 +3,6 @@ #![feature(asm)] #![feature(type_alias_impl_trait)] #![feature(never_type)] -#![allow(incomplete_features)] #[cfg(feature = "unstable-pac")] pub use rp2040_pac2 as pac; diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index 503d10f57..a423e1554 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -2,7 +2,6 @@ #![feature(generic_associated_types)] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[cfg(feature = "unstable-pac")] pub use stm32_metapac as pac; diff --git a/embassy-traits/src/lib.rs b/embassy-traits/src/lib.rs index 819673a36..4c8b94b11 100644 --- a/embassy-traits/src/lib.rs +++ b/embassy-traits/src/lib.rs @@ -2,7 +2,6 @@ #![feature(generic_associated_types)] #![feature(const_fn_fn_ptr_basics)] #![feature(const_option)] -#![allow(incomplete_features)] #![feature(type_alias_impl_trait)] pub mod delay; diff --git a/embassy/src/lib.rs b/embassy/src/lib.rs index 32e65c65c..959d30797 100644 --- a/embassy/src/lib.rs +++ b/embassy/src/lib.rs @@ -3,7 +3,6 @@ #![feature(const_fn_trait_bound)] #![feature(const_fn_fn_ptr_basics)] #![feature(const_option)] -#![allow(incomplete_features)] #![feature(type_alias_impl_trait)] // This mod MUST go first, so that the others see its macros. diff --git a/embassy/src/time/timer.rs b/embassy/src/time/timer.rs index d1ed6a512..aacaadfc5 100644 --- a/embassy/src/time/timer.rs +++ b/embassy/src/time/timer.rs @@ -42,7 +42,6 @@ impl Timer { /// /// Example: /// ``` no_run - /// # #![feature(trait_alias)] /// # #![feature(type_alias_impl_trait)] /// # /// # fn foo() {} @@ -83,7 +82,6 @@ impl Future for Timer { /// /// For instance, consider the following code fragment. /// ``` no_run -/// # #![feature(trait_alias)] /// # #![feature(type_alias_impl_trait)] /// # /// use embassy::time::{Duration, Timer}; @@ -104,7 +102,6 @@ impl Future for Timer { /// Example using ticker, which will consistently call `foo` once a second. /// /// ``` no_run -/// # #![feature(trait_alias)] /// # #![feature(type_alias_impl_trait)] /// # /// use embassy::time::{Duration, Ticker}; diff --git a/examples/nrf/src/bin/awaitable_timer.rs b/examples/nrf/src/bin/awaitable_timer.rs index 289a33c71..98b656005 100644 --- a/examples/nrf/src/bin/awaitable_timer.rs +++ b/examples/nrf/src/bin/awaitable_timer.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/blinky.rs b/examples/nrf/src/bin/blinky.rs index 8fa1f87a9..a12fe58ff 100644 --- a/examples/nrf/src/bin/blinky.rs +++ b/examples/nrf/src/bin/blinky.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/buffered_uart.rs b/examples/nrf/src/bin/buffered_uart.rs index 3201ec9a0..69c7de93b 100644 --- a/examples/nrf/src/bin/buffered_uart.rs +++ b/examples/nrf/src/bin/buffered_uart.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/executor_fairness_test.rs b/examples/nrf/src/bin/executor_fairness_test.rs index 2d81a7551..397bb16f6 100644 --- a/examples/nrf/src/bin/executor_fairness_test.rs +++ b/examples/nrf/src/bin/executor_fairness_test.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/gpiote_channel.rs b/examples/nrf/src/bin/gpiote_channel.rs index a96523e65..f29dae022 100644 --- a/examples/nrf/src/bin/gpiote_channel.rs +++ b/examples/nrf/src/bin/gpiote_channel.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/gpiote_port.rs b/examples/nrf/src/bin/gpiote_port.rs index 57f8a518e..ba9436aca 100644 --- a/examples/nrf/src/bin/gpiote_port.rs +++ b/examples/nrf/src/bin/gpiote_port.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/mpsc.rs b/examples/nrf/src/bin/mpsc.rs index b40ed5e0e..c8cc67d77 100644 --- a/examples/nrf/src/bin/mpsc.rs +++ b/examples/nrf/src/bin/mpsc.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/multiprio.rs b/examples/nrf/src/bin/multiprio.rs index b91bbb740..78ea5bc0e 100644 --- a/examples/nrf/src/bin/multiprio.rs +++ b/examples/nrf/src/bin/multiprio.rs @@ -56,7 +56,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/ppi.rs b/examples/nrf/src/bin/ppi.rs index 2dc3fe1b7..6ea03ebd0 100644 --- a/examples/nrf/src/bin/ppi.rs +++ b/examples/nrf/src/bin/ppi.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/pwm.rs b/examples/nrf/src/bin/pwm.rs index f30ad8f52..ab033eb50 100644 --- a/examples/nrf/src/bin/pwm.rs +++ b/examples/nrf/src/bin/pwm.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/qspi.rs b/examples/nrf/src/bin/qspi.rs index 0adeadd65..e5560cead 100644 --- a/examples/nrf/src/bin/qspi.rs +++ b/examples/nrf/src/bin/qspi.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/qspi_lowpower.rs b/examples/nrf/src/bin/qspi_lowpower.rs index 30df22451..7a3c68ee1 100644 --- a/examples/nrf/src/bin/qspi_lowpower.rs +++ b/examples/nrf/src/bin/qspi_lowpower.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/rng.rs b/examples/nrf/src/bin/rng.rs index aa5215af6..5f575897e 100644 --- a/examples/nrf/src/bin/rng.rs +++ b/examples/nrf/src/bin/rng.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/saadc.rs b/examples/nrf/src/bin/saadc.rs index f96cf2903..311ffe2eb 100644 --- a/examples/nrf/src/bin/saadc.rs +++ b/examples/nrf/src/bin/saadc.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/spim.rs b/examples/nrf/src/bin/spim.rs index 7c9779a36..9afd17ef9 100644 --- a/examples/nrf/src/bin/spim.rs +++ b/examples/nrf/src/bin/spim.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/timer.rs b/examples/nrf/src/bin/timer.rs index 60cbe5a0f..f27081b74 100644 --- a/examples/nrf/src/bin/timer.rs +++ b/examples/nrf/src/bin/timer.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/twim.rs b/examples/nrf/src/bin/twim.rs index 0b8f1407b..c0a2aab58 100644 --- a/examples/nrf/src/bin/twim.rs +++ b/examples/nrf/src/bin/twim.rs @@ -5,7 +5,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/twim_lowpower.rs b/examples/nrf/src/bin/twim_lowpower.rs index a4bab9606..e25ecb576 100644 --- a/examples/nrf/src/bin/twim_lowpower.rs +++ b/examples/nrf/src/bin/twim_lowpower.rs @@ -7,7 +7,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/uart.rs b/examples/nrf/src/bin/uart.rs index 76f940b49..df7a4e78e 100644 --- a/examples/nrf/src/bin/uart.rs +++ b/examples/nrf/src/bin/uart.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/uart_idle.rs b/examples/nrf/src/bin/uart_idle.rs index 4fb5129cb..e9f4a285a 100644 --- a/examples/nrf/src/bin/uart_idle.rs +++ b/examples/nrf/src/bin/uart_idle.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/nrf/src/bin/wdt.rs b/examples/nrf/src/bin/wdt.rs index eaa0b5ee1..76f171cd3 100644 --- a/examples/nrf/src/bin/wdt.rs +++ b/examples/nrf/src/bin/wdt.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/rp/src/bin/blinky.rs b/examples/rp/src/bin/blinky.rs index e79ca21f2..d3e066e00 100644 --- a/examples/rp/src/bin/blinky.rs +++ b/examples/rp/src/bin/blinky.rs @@ -2,7 +2,6 @@ #![no_main] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/rp/src/bin/button.rs b/examples/rp/src/bin/button.rs index c9e99ec23..a7846cbf3 100644 --- a/examples/rp/src/bin/button.rs +++ b/examples/rp/src/bin/button.rs @@ -2,7 +2,6 @@ #![no_main] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/rp/src/bin/spi.rs b/examples/rp/src/bin/spi.rs index 0b922625c..0e59c457e 100644 --- a/examples/rp/src/bin/spi.rs +++ b/examples/rp/src/bin/spi.rs @@ -2,7 +2,6 @@ #![no_main] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/rp/src/bin/spi_display.rs b/examples/rp/src/bin/spi_display.rs index 8e8342d80..702133307 100644 --- a/examples/rp/src/bin/spi_display.rs +++ b/examples/rp/src/bin/spi_display.rs @@ -2,7 +2,6 @@ #![no_main] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/rp/src/bin/uart.rs b/examples/rp/src/bin/uart.rs index 93848c7fe..379ab2438 100644 --- a/examples/rp/src/bin/uart.rs +++ b/examples/rp/src/bin/uart.rs @@ -2,7 +2,6 @@ #![no_main] #![feature(asm)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/std/src/bin/net.rs b/examples/std/src/bin/net.rs index b98b97090..c44f1c5b0 100644 --- a/examples/std/src/bin/net.rs +++ b/examples/std/src/bin/net.rs @@ -1,5 +1,4 @@ #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] use clap::{AppSettings, Clap}; use embassy::executor::{Executor, Spawner}; diff --git a/examples/std/src/bin/serial.rs b/examples/std/src/bin/serial.rs index 181c5dfaa..129dc2090 100644 --- a/examples/std/src/bin/serial.rs +++ b/examples/std/src/bin/serial.rs @@ -1,5 +1,4 @@ #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../serial_port.rs"] mod serial_port; diff --git a/examples/std/src/bin/tick.rs b/examples/std/src/bin/tick.rs index 7de78040f..bed9d7dc5 100644 --- a/examples/std/src/bin/tick.rs +++ b/examples/std/src/bin/tick.rs @@ -1,5 +1,4 @@ #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] use embassy::executor::Spawner; use embassy::time::{Duration, Timer}; diff --git a/examples/stm32f0/src/bin/hello.rs b/examples/stm32f0/src/bin/hello.rs index 418f27943..9f745f9ae 100644 --- a/examples/stm32f0/src/bin/hello.rs +++ b/examples/stm32f0/src/bin/hello.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] use defmt::info; diff --git a/examples/stm32f4/src/bin/blinky.rs b/examples/stm32f4/src/bin/blinky.rs index a30887f7d..c4857195f 100644 --- a/examples/stm32f4/src/bin/blinky.rs +++ b/examples/stm32f4/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/button.rs b/examples/stm32f4/src/bin/button.rs index 04fcfcc21..95dee7c74 100644 --- a/examples/stm32f4/src/bin/button.rs +++ b/examples/stm32f4/src/bin/button.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/button_exti.rs b/examples/stm32f4/src/bin/button_exti.rs index 49c23ca3b..2c4318d64 100644 --- a/examples/stm32f4/src/bin/button_exti.rs +++ b/examples/stm32f4/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/can.rs b/examples/stm32f4/src/bin/can.rs index 29dff5510..21b9a6004 100644 --- a/examples/stm32f4/src/bin/can.rs +++ b/examples/stm32f4/src/bin/can.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/hello.rs b/examples/stm32f4/src/bin/hello.rs index 8059f4b5a..56eb67bf3 100644 --- a/examples/stm32f4/src/bin/hello.rs +++ b/examples/stm32f4/src/bin/hello.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] use defmt::info; use embassy::executor::Spawner; diff --git a/examples/stm32f4/src/bin/spi.rs b/examples/stm32f4/src/bin/spi.rs index 19b6c62aa..0192e1865 100644 --- a/examples/stm32f4/src/bin/spi.rs +++ b/examples/stm32f4/src/bin/spi.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/spi_dma.rs b/examples/stm32f4/src/bin/spi_dma.rs index ef88fbb9e..b3bf6fc28 100644 --- a/examples/stm32f4/src/bin/spi_dma.rs +++ b/examples/stm32f4/src/bin/spi_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/usart.rs b/examples/stm32f4/src/bin/usart.rs index 8bb2ada9e..391a8b9b0 100644 --- a/examples/stm32f4/src/bin/usart.rs +++ b/examples/stm32f4/src/bin/usart.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32f4/src/bin/usart_dma.rs b/examples/stm32f4/src/bin/usart_dma.rs index 3cfa6219c..0dbdd7c05 100644 --- a/examples/stm32f4/src/bin/usart_dma.rs +++ b/examples/stm32f4/src/bin/usart_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32g0/src/bin/blinky.rs b/examples/stm32g0/src/bin/blinky.rs index a30887f7d..c4857195f 100644 --- a/examples/stm32g0/src/bin/blinky.rs +++ b/examples/stm32g0/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32g0/src/bin/button.rs b/examples/stm32g0/src/bin/button.rs index a834b2fce..4ca2a43b2 100644 --- a/examples/stm32g0/src/bin/button.rs +++ b/examples/stm32g0/src/bin/button.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32g0/src/bin/button_exti.rs b/examples/stm32g0/src/bin/button_exti.rs index c55d6408c..0c2483ecb 100644 --- a/examples/stm32g0/src/bin/button_exti.rs +++ b/examples/stm32g0/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/blinky.rs b/examples/stm32h7/src/bin/blinky.rs index 3784fba84..78edb5e27 100644 --- a/examples/stm32h7/src/bin/blinky.rs +++ b/examples/stm32h7/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/button_exti.rs b/examples/stm32h7/src/bin/button_exti.rs index 49c23ca3b..2c4318d64 100644 --- a/examples/stm32h7/src/bin/button_exti.rs +++ b/examples/stm32h7/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/dac.rs b/examples/stm32h7/src/bin/dac.rs index e4c3a7312..4cd2f2cd1 100644 --- a/examples/stm32h7/src/bin/dac.rs +++ b/examples/stm32h7/src/bin/dac.rs @@ -1,7 +1,5 @@ #![no_std] #![no_main] -#![allow(incomplete_features)] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] #[path = "../example_common.rs"] diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs index df4931455..acb6ef3a6 100644 --- a/examples/stm32h7/src/bin/eth.rs +++ b/examples/stm32h7/src/bin/eth.rs @@ -1,7 +1,5 @@ #![no_std] #![no_main] -#![allow(incomplete_features)] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] #[path = "../example_common.rs"] diff --git a/examples/stm32h7/src/bin/rng.rs b/examples/stm32h7/src/bin/rng.rs index 2dc8268b5..d64ad9bcd 100644 --- a/examples/stm32h7/src/bin/rng.rs +++ b/examples/stm32h7/src/bin/rng.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/spi.rs b/examples/stm32h7/src/bin/spi.rs index 5514b0d3d..0b375b0d0 100644 --- a/examples/stm32h7/src/bin/spi.rs +++ b/examples/stm32h7/src/bin/spi.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/spi_dma.rs b/examples/stm32h7/src/bin/spi_dma.rs index ea1605903..192e2e864 100644 --- a/examples/stm32h7/src/bin/spi_dma.rs +++ b/examples/stm32h7/src/bin/spi_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/usart.rs b/examples/stm32h7/src/bin/usart.rs index 10bf7813d..95f0a8604 100644 --- a/examples/stm32h7/src/bin/usart.rs +++ b/examples/stm32h7/src/bin/usart.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32h7/src/bin/usart_dma.rs b/examples/stm32h7/src/bin/usart_dma.rs index eb71a72cf..d603347ac 100644 --- a/examples/stm32h7/src/bin/usart_dma.rs +++ b/examples/stm32h7/src/bin/usart_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l0/src/bin/blinky.rs b/examples/stm32l0/src/bin/blinky.rs index d8513bc7c..1198b29da 100644 --- a/examples/stm32l0/src/bin/blinky.rs +++ b/examples/stm32l0/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l0/src/bin/button.rs b/examples/stm32l0/src/bin/button.rs index a7e82e37e..c29155302 100644 --- a/examples/stm32l0/src/bin/button.rs +++ b/examples/stm32l0/src/bin/button.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l0/src/bin/button_exti.rs b/examples/stm32l0/src/bin/button_exti.rs index 13ce99907..20d6f5555 100644 --- a/examples/stm32l0/src/bin/button_exti.rs +++ b/examples/stm32l0/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l0/src/bin/spi.rs b/examples/stm32l0/src/bin/spi.rs index 83c4fe322..f768a5227 100644 --- a/examples/stm32l0/src/bin/spi.rs +++ b/examples/stm32l0/src/bin/spi.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l0/src/bin/usart_dma.rs b/examples/stm32l0/src/bin/usart_dma.rs index 2b2424e97..3fe61c13d 100644 --- a/examples/stm32l0/src/bin/usart_dma.rs +++ b/examples/stm32l0/src/bin/usart_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l0/src/bin/usart_irq.rs b/examples/stm32l0/src/bin/usart_irq.rs index 66a00f41b..8dc047cf3 100644 --- a/examples/stm32l0/src/bin/usart_irq.rs +++ b/examples/stm32l0/src/bin/usart_irq.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/adc.rs b/examples/stm32l4/src/bin/adc.rs index 14b4e5ecf..83c54222d 100644 --- a/examples/stm32l4/src/bin/adc.rs +++ b/examples/stm32l4/src/bin/adc.rs @@ -1,7 +1,5 @@ #![no_std] #![no_main] -#![allow(incomplete_features)] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] #[path = "../example_common.rs"] diff --git a/examples/stm32l4/src/bin/blinky.rs b/examples/stm32l4/src/bin/blinky.rs index 9c983bc6c..8a65858f8 100644 --- a/examples/stm32l4/src/bin/blinky.rs +++ b/examples/stm32l4/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/button.rs b/examples/stm32l4/src/bin/button.rs index be6e2d2f3..fd8674549 100644 --- a/examples/stm32l4/src/bin/button.rs +++ b/examples/stm32l4/src/bin/button.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/button_exti.rs b/examples/stm32l4/src/bin/button_exti.rs index c55d6408c..0c2483ecb 100644 --- a/examples/stm32l4/src/bin/button_exti.rs +++ b/examples/stm32l4/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/dac.rs b/examples/stm32l4/src/bin/dac.rs index e03fbc955..6cdd6d3ff 100644 --- a/examples/stm32l4/src/bin/dac.rs +++ b/examples/stm32l4/src/bin/dac.rs @@ -1,7 +1,5 @@ #![no_std] #![no_main] -#![allow(incomplete_features)] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] #[path = "../example_common.rs"] diff --git a/examples/stm32l4/src/bin/spi.rs b/examples/stm32l4/src/bin/spi.rs index 376537e91..5b9ae1ce0 100644 --- a/examples/stm32l4/src/bin/spi.rs +++ b/examples/stm32l4/src/bin/spi.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs index 75c19a3bf..4b74c7d7d 100644 --- a/examples/stm32l4/src/bin/spi_dma.rs +++ b/examples/stm32l4/src/bin/spi_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/usart.rs b/examples/stm32l4/src/bin/usart.rs index 09b62f680..b6decbc9d 100644 --- a/examples/stm32l4/src/bin/usart.rs +++ b/examples/stm32l4/src/bin/usart.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32l4/src/bin/usart_dma.rs b/examples/stm32l4/src/bin/usart_dma.rs index d307dc13c..b49d3d882 100644 --- a/examples/stm32l4/src/bin/usart_dma.rs +++ b/examples/stm32l4/src/bin/usart_dma.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32wb55/src/bin/blinky.rs b/examples/stm32wb55/src/bin/blinky.rs index ea5f872d7..42522fe9b 100644 --- a/examples/stm32wb55/src/bin/blinky.rs +++ b/examples/stm32wb55/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32wb55/src/bin/button_exti.rs b/examples/stm32wb55/src/bin/button_exti.rs index 1c070833d..aeb7bd8a6 100644 --- a/examples/stm32wb55/src/bin/button_exti.rs +++ b/examples/stm32wb55/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32wl55/src/bin/blinky.rs b/examples/stm32wl55/src/bin/blinky.rs index b13b66e0e..3c12a79d0 100644 --- a/examples/stm32wl55/src/bin/blinky.rs +++ b/examples/stm32wl55/src/bin/blinky.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32wl55/src/bin/button.rs b/examples/stm32wl55/src/bin/button.rs index ca1625a64..55b688663 100644 --- a/examples/stm32wl55/src/bin/button.rs +++ b/examples/stm32wl55/src/bin/button.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common; diff --git a/examples/stm32wl55/src/bin/button_exti.rs b/examples/stm32wl55/src/bin/button_exti.rs index b34e54574..31adfb5d1 100644 --- a/examples/stm32wl55/src/bin/button_exti.rs +++ b/examples/stm32wl55/src/bin/button_exti.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -#![feature(trait_alias)] #![feature(type_alias_impl_trait)] -#![allow(incomplete_features)] #[path = "../example_common.rs"] mod example_common;