From de016e845655fe7a8637c9a545e4074e7bd6dbfc Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 3 Sep 2021 17:00:58 +0200 Subject: Remove trait_alias, allow(incomplete_features). trait_alias seems unused. no idea why it's there. --- embassy-nrf/src/lib.rs | 1 - embassy-rp/src/lib.rs | 1 - embassy-stm32/src/lib.rs | 1 - embassy-traits/src/lib.rs | 1 - embassy/src/lib.rs | 1 - embassy/src/time/timer.rs | 3 --- examples/nrf/src/bin/awaitable_timer.rs | 1 - examples/nrf/src/bin/blinky.rs | 1 - examples/nrf/src/bin/buffered_uart.rs | 1 - examples/nrf/src/bin/executor_fairness_test.rs | 1 - examples/nrf/src/bin/gpiote_channel.rs | 1 - examples/nrf/src/bin/gpiote_port.rs | 1 - examples/nrf/src/bin/mpsc.rs | 1 - examples/nrf/src/bin/multiprio.rs | 1 - examples/nrf/src/bin/ppi.rs | 1 - examples/nrf/src/bin/pwm.rs | 1 - examples/nrf/src/bin/qspi.rs | 1 - examples/nrf/src/bin/qspi_lowpower.rs | 1 - examples/nrf/src/bin/rng.rs | 1 - examples/nrf/src/bin/saadc.rs | 1 - examples/nrf/src/bin/spim.rs | 1 - examples/nrf/src/bin/timer.rs | 1 - examples/nrf/src/bin/twim.rs | 1 - examples/nrf/src/bin/twim_lowpower.rs | 1 - examples/nrf/src/bin/uart.rs | 1 - examples/nrf/src/bin/uart_idle.rs | 1 - examples/nrf/src/bin/wdt.rs | 1 - examples/rp/src/bin/blinky.rs | 1 - examples/rp/src/bin/button.rs | 1 - examples/rp/src/bin/spi.rs | 1 - examples/rp/src/bin/spi_display.rs | 1 - examples/rp/src/bin/uart.rs | 1 - examples/std/src/bin/net.rs | 1 - examples/std/src/bin/serial.rs | 1 - examples/std/src/bin/tick.rs | 1 - examples/stm32f0/src/bin/hello.rs | 1 - examples/stm32f4/src/bin/blinky.rs | 2 -- examples/stm32f4/src/bin/button.rs | 2 -- examples/stm32f4/src/bin/button_exti.rs | 2 -- examples/stm32f4/src/bin/can.rs | 2 -- examples/stm32f4/src/bin/hello.rs | 2 -- examples/stm32f4/src/bin/spi.rs | 2 -- examples/stm32f4/src/bin/spi_dma.rs | 2 -- examples/stm32f4/src/bin/usart.rs | 2 -- examples/stm32f4/src/bin/usart_dma.rs | 2 -- examples/stm32g0/src/bin/blinky.rs | 2 -- examples/stm32g0/src/bin/button.rs | 2 -- examples/stm32g0/src/bin/button_exti.rs | 2 -- examples/stm32h7/src/bin/blinky.rs | 2 -- examples/stm32h7/src/bin/button_exti.rs | 2 -- examples/stm32h7/src/bin/dac.rs | 2 -- examples/stm32h7/src/bin/eth.rs | 2 -- examples/stm32h7/src/bin/rng.rs | 2 -- examples/stm32h7/src/bin/spi.rs | 2 -- examples/stm32h7/src/bin/spi_dma.rs | 2 -- examples/stm32h7/src/bin/usart.rs | 2 -- examples/stm32h7/src/bin/usart_dma.rs | 2 -- examples/stm32l0/src/bin/blinky.rs | 2 -- examples/stm32l0/src/bin/button.rs | 2 -- examples/stm32l0/src/bin/button_exti.rs | 2 -- examples/stm32l0/src/bin/spi.rs | 2 -- examples/stm32l0/src/bin/usart_dma.rs | 2 -- examples/stm32l0/src/bin/usart_irq.rs | 2 -- examples/stm32l4/src/bin/adc.rs | 2 -- examples/stm32l4/src/bin/blinky.rs | 2 -- examples/stm32l4/src/bin/button.rs | 2 -- examples/stm32l4/src/bin/button_exti.rs | 2 -- examples/stm32l4/src/bin/dac.rs | 2 -- examples/stm32l4/src/bin/spi.rs | 2 -- examples/stm32l4/src/bin/spi_dma.rs | 2 -- examples/stm32l4/src/bin/usart.rs | 2 -- examples/stm32l4/src/bin/usart_dma.rs | 2 -- examples/stm32wb55/src/bin/blinky.rs | 2 -- examples/stm32wb55/src/bin/button_exti.rs | 2 -- examples/stm32wl55/src/bin/blinky.rs | 2 -- examples/stm32wl55/src/bin/button.rs | 2 -- examples/stm32wl55/src/bin/button_exti.rs | 2 -- 77 files changed, 120 deletions(-) diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 088d44b5..9a0e9c3a 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 26ebbebf..93dbb9cc 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 503d10f5..a423e155 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 819673a3..4c8b94b1 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 32e65c65..959d3079 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 d1ed6a51..aacaadfc 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 289a33c7..98b65600 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 8fa1f87a..a12fe58f 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 3201ec9a..69c7de93 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 2d81a755..397bb16f 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 a96523e6..f29dae02 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 57f8a518..ba9436ac 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 b40ed5e0..c8cc67d7 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 b91bbb74..78ea5bc0 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 2dc3fe1b..6ea03ebd 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 f30ad8f5..ab033eb5 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 0adeadd6..e5560cea 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 30df2245..7a3c68ee 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 aa5215af..5f575897 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 f96cf290..311ffe2e 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 7c9779a3..9afd17ef 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 60cbe5a0..f27081b7 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 0b8f1407..c0a2aab5 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 a4bab960..e25ecb57 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 76f940b4..df7a4e78 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 4fb5129c..e9f4a285 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 eaa0b5ee..76f171cd 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 e79ca21f..d3e066e0 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 c9e99ec2..a7846cbf 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 0b922625..0e59c457 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 8e8342d8..70213330 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 93848c7f..379ab243 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 b98b9709..c44f1c5b 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 181c5dfa..129dc209 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 7de78040..bed9d7dc 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 418f2794..9f745f9a 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 a30887f7..c4857195 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 04fcfcc2..95dee7c7 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 49c23ca3..2c4318d6 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 29dff551..21b9a600 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 8059f4b5..56eb67bf 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 19b6c62a..0192e186 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 ef88fbb9..b3bf6fc2 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 8bb2ada9..391a8b9b 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 3cfa6219..0dbdd7c0 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 a30887f7..c4857195 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 a834b2fc..4ca2a43b 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 c55d6408..0c2483ec 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 3784fba8..78edb5e2 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 49c23ca3..2c4318d6 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 e4c3a731..4cd2f2cd 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 df493145..acb6ef3a 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 2dc8268b..d64ad9bc 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 5514b0d3..0b375b0d 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 ea160590..192e2e86 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 10bf7813..95f0a860 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 eb71a72c..d603347a 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 d8513bc7..1198b29d 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 a7e82e37..c2915530 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 13ce9990..20d6f555 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 83c4fe32..f768a522 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 2b2424e9..3fe61c13 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 66a00f41..8dc047cf 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 14b4e5ec..83c54222 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 9c983bc6..8a65858f 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 be6e2d2f..fd867454 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 c55d6408..0c2483ec 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 e03fbc95..6cdd6d3f 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 376537e9..5b9ae1ce 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 75c19a3b..4b74c7d7 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 09b62f68..b6decbc9 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 d307dc13..b49d3d88 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 ea5f872d..42522fe9 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 1c070833..aeb7bd8a 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 b13b66e0..3c12a79d 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 ca1625a6..55b68866 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 b34e5457..31adfb5d 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; -- cgit v1.2.3