diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-09-03 17:00:58 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-09-03 17:00:58 +0200 |
| commit | de016e845655fe7a8637c9a545e4074e7bd6dbfc (patch) | |
| tree | 38c7413261ca5058c1d54810b142b7db09ad3ac4 | |
| parent | 65bceafa6839b92dd5e4487485f687bdf4b42733 (diff) | |
Remove trait_alias, allow(incomplete_features).
trait_alias seems unused. no idea why it's there.
77 files changed, 0 insertions, 120 deletions
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 @@ | |||
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[cfg(not(any( | 6 | #[cfg(not(any( |
| 8 | feature = "nrf51", | 7 | 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 @@ | |||
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![feature(never_type)] | 5 | #![feature(never_type)] |
| 6 | #![allow(incomplete_features)] | ||
| 7 | 6 | ||
| 8 | #[cfg(feature = "unstable-pac")] | 7 | #[cfg(feature = "unstable-pac")] |
| 9 | pub use rp2040_pac2 as pac; | 8 | 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 @@ | |||
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[cfg(feature = "unstable-pac")] | 6 | #[cfg(feature = "unstable-pac")] |
| 8 | pub use stm32_metapac as pac; | 7 | 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 @@ | |||
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(const_fn_fn_ptr_basics)] | 3 | #![feature(const_fn_fn_ptr_basics)] |
| 4 | #![feature(const_option)] | 4 | #![feature(const_option)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 7 | 6 | ||
| 8 | pub mod delay; | 7 | 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 @@ | |||
| 3 | #![feature(const_fn_trait_bound)] | 3 | #![feature(const_fn_trait_bound)] |
| 4 | #![feature(const_fn_fn_ptr_basics)] | 4 | #![feature(const_fn_fn_ptr_basics)] |
| 5 | #![feature(const_option)] | 5 | #![feature(const_option)] |
| 6 | #![allow(incomplete_features)] | ||
| 7 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 8 | 7 | ||
| 9 | // This mod MUST go first, so that the others see its macros. | 8 | // 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 { | |||
| 42 | /// | 42 | /// |
| 43 | /// Example: | 43 | /// Example: |
| 44 | /// ``` no_run | 44 | /// ``` no_run |
| 45 | /// # #![feature(trait_alias)] | ||
| 46 | /// # #![feature(type_alias_impl_trait)] | 45 | /// # #![feature(type_alias_impl_trait)] |
| 47 | /// # | 46 | /// # |
| 48 | /// # fn foo() {} | 47 | /// # fn foo() {} |
| @@ -83,7 +82,6 @@ impl Future for Timer { | |||
| 83 | /// | 82 | /// |
| 84 | /// For instance, consider the following code fragment. | 83 | /// For instance, consider the following code fragment. |
| 85 | /// ``` no_run | 84 | /// ``` no_run |
| 86 | /// # #![feature(trait_alias)] | ||
| 87 | /// # #![feature(type_alias_impl_trait)] | 85 | /// # #![feature(type_alias_impl_trait)] |
| 88 | /// # | 86 | /// # |
| 89 | /// use embassy::time::{Duration, Timer}; | 87 | /// use embassy::time::{Duration, Timer}; |
| @@ -104,7 +102,6 @@ impl Future for Timer { | |||
| 104 | /// Example using ticker, which will consistently call `foo` once a second. | 102 | /// Example using ticker, which will consistently call `foo` once a second. |
| 105 | /// | 103 | /// |
| 106 | /// ``` no_run | 104 | /// ``` no_run |
| 107 | /// # #![feature(trait_alias)] | ||
| 108 | /// # #![feature(type_alias_impl_trait)] | 105 | /// # #![feature(type_alias_impl_trait)] |
| 109 | /// # | 106 | /// # |
| 110 | /// use embassy::time::{Duration, Ticker}; | 107 | /// 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 56 | #![no_std] | 56 | #![no_std] |
| 57 | #![no_main] | 57 | #![no_main] |
| 58 | #![feature(type_alias_impl_trait)] | 58 | #![feature(type_alias_impl_trait)] |
| 59 | #![allow(incomplete_features)] | ||
| 60 | 59 | ||
| 61 | #[path = "../example_common.rs"] | 60 | #[path = "../example_common.rs"] |
| 62 | mod example_common; | 61 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 5 | #![no_std] | 5 | #![no_std] |
| 6 | #![no_main] | 6 | #![no_main] |
| 7 | #![feature(type_alias_impl_trait)] | 7 | #![feature(type_alias_impl_trait)] |
| 8 | #![allow(incomplete_features)] | ||
| 9 | 8 | ||
| 10 | #[path = "../example_common.rs"] | 9 | #[path = "../example_common.rs"] |
| 11 | mod example_common; | 10 | 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 @@ | |||
| 7 | #![no_std] | 7 | #![no_std] |
| 8 | #![no_main] | 8 | #![no_main] |
| 9 | #![feature(type_alias_impl_trait)] | 9 | #![feature(type_alias_impl_trait)] |
| 10 | #![allow(incomplete_features)] | ||
| 11 | 10 | ||
| 12 | #[path = "../example_common.rs"] | 11 | #[path = "../example_common.rs"] |
| 13 | mod example_common; | 12 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 7 | mod example_common; | 6 | 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 @@ | |||
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[path = "../example_common.rs"] | 6 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 7 | 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 @@ | |||
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[path = "../example_common.rs"] | 6 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 7 | 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 @@ | |||
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[path = "../example_common.rs"] | 6 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 7 | 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 @@ | |||
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[path = "../example_common.rs"] | 6 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 7 | 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 @@ | |||
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(type_alias_impl_trait)] | 4 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 5 | ||
| 7 | #[path = "../example_common.rs"] | 6 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 7 | 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 @@ | |||
| 1 | #![feature(type_alias_impl_trait)] | 1 | #![feature(type_alias_impl_trait)] |
| 2 | #![allow(incomplete_features)] | ||
| 3 | 2 | ||
| 4 | use clap::{AppSettings, Clap}; | 3 | use clap::{AppSettings, Clap}; |
| 5 | use embassy::executor::{Executor, Spawner}; | 4 | 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 @@ | |||
| 1 | #![feature(type_alias_impl_trait)] | 1 | #![feature(type_alias_impl_trait)] |
| 2 | #![allow(incomplete_features)] | ||
| 3 | 2 | ||
| 4 | #[path = "../serial_port.rs"] | 3 | #[path = "../serial_port.rs"] |
| 5 | mod serial_port; | 4 | 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 @@ | |||
| 1 | #![feature(type_alias_impl_trait)] | 1 | #![feature(type_alias_impl_trait)] |
| 2 | #![allow(incomplete_features)] | ||
| 3 | 2 | ||
| 4 | use embassy::executor::Spawner; | 3 | use embassy::executor::Spawner; |
| 5 | use embassy::time::{Duration, Timer}; | 4 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 5 | 4 | ||
| 6 | use defmt::info; | 5 | use defmt::info; |
| 7 | 6 | ||
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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | use defmt::info; | 5 | use defmt::info; |
| 8 | use embassy::executor::Spawner; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | #![feature(trait_alias)] | ||
| 5 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | #![feature(trait_alias)] | ||
| 5 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | #![feature(trait_alias)] | ||
| 5 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | #![feature(trait_alias)] | ||
| 5 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | 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 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | ||
| 6 | 4 | ||
| 7 | #[path = "../example_common.rs"] | 5 | #[path = "../example_common.rs"] |
| 8 | mod example_common; | 6 | mod example_common; |
