Merge pull request #387 from embassy-rs/remove-features

Remove trait_alias, allow(incomplete_features).
This commit is contained in:
Dario Nieuwenhuis 2021-09-03 17:33:27 +02:00 committed by GitHub
commit 12894b3c7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 3 additions and 126 deletions

View file

@ -2,7 +2,6 @@
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[cfg(not(any( #[cfg(not(any(
feature = "nrf51", feature = "nrf51",

View file

@ -1,3 +1,4 @@
use core::convert::Infallible;
use core::marker::PhantomData; use core::marker::PhantomData;
use crate::pac; use crate::pac;
@ -81,7 +82,7 @@ impl<'d, T: Pin> Drop for Input<'d, T> {
} }
impl<'d, T: Pin> digital::InputPin for Input<'d, T> { impl<'d, T: Pin> digital::InputPin for Input<'d, T> {
type Error = !; type Error = Infallible;
fn is_high(&self) -> Result<bool, Self::Error> { fn is_high(&self) -> Result<bool, Self::Error> {
Ok(self.is_high()) Ok(self.is_high())
@ -151,7 +152,7 @@ impl<'d, T: Pin> Drop for Output<'d, T> {
} }
impl<'d, T: Pin> digital::OutputPin for Output<'d, T> { impl<'d, T: Pin> digital::OutputPin for Output<'d, T> {
type Error = !; type Error = Infallible;
/// Set the output as high. /// Set the output as high.
fn set_high(&mut self) -> Result<(), Self::Error> { fn set_high(&mut self) -> Result<(), Self::Error> {

View file

@ -2,8 +2,6 @@
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![feature(never_type)]
#![allow(incomplete_features)]
#[cfg(feature = "unstable-pac")] #[cfg(feature = "unstable-pac")]
pub use rp2040_pac2 as pac; pub use rp2040_pac2 as pac;

View file

@ -2,7 +2,6 @@
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[cfg(feature = "unstable-pac")] #[cfg(feature = "unstable-pac")]
pub use stm32_metapac as pac; pub use stm32_metapac as pac;

View file

@ -1,8 +1,5 @@
#![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), no_std)]
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(const_fn_fn_ptr_basics)]
#![feature(const_option)]
#![allow(incomplete_features)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
pub mod delay; pub mod delay;

View file

@ -2,8 +2,6 @@
#![feature(generic_associated_types)] #![feature(generic_associated_types)]
#![feature(const_fn_trait_bound)] #![feature(const_fn_trait_bound)]
#![feature(const_fn_fn_ptr_basics)] #![feature(const_fn_fn_ptr_basics)]
#![feature(const_option)]
#![allow(incomplete_features)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
// This mod MUST go first, so that the others see its macros. // This mod MUST go first, so that the others see its macros.

View file

@ -42,7 +42,6 @@ impl Timer {
/// ///
/// Example: /// Example:
/// ``` no_run /// ``` no_run
/// # #![feature(trait_alias)]
/// # #![feature(type_alias_impl_trait)] /// # #![feature(type_alias_impl_trait)]
/// # /// #
/// # fn foo() {} /// # fn foo() {}
@ -83,7 +82,6 @@ impl Future for Timer {
/// ///
/// For instance, consider the following code fragment. /// For instance, consider the following code fragment.
/// ``` no_run /// ``` no_run
/// # #![feature(trait_alias)]
/// # #![feature(type_alias_impl_trait)] /// # #![feature(type_alias_impl_trait)]
/// # /// #
/// use embassy::time::{Duration, Timer}; /// use embassy::time::{Duration, Timer};
@ -104,7 +102,6 @@ impl Future for Timer {
/// Example using ticker, which will consistently call `foo` once a second. /// Example using ticker, which will consistently call `foo` once a second.
/// ///
/// ``` no_run /// ``` no_run
/// # #![feature(trait_alias)]
/// # #![feature(type_alias_impl_trait)] /// # #![feature(type_alias_impl_trait)]
/// # /// #
/// use embassy::time::{Duration, Ticker}; /// use embassy::time::{Duration, Ticker};

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -56,7 +56,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -5,7 +5,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -7,7 +7,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -2,7 +2,6 @@
#![no_main] #![no_main]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -2,7 +2,6 @@
#![no_main] #![no_main]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -2,7 +2,6 @@
#![no_main] #![no_main]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -2,7 +2,6 @@
#![no_main] #![no_main]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -2,7 +2,6 @@
#![no_main] #![no_main]
#![feature(asm)] #![feature(asm)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,5 +1,4 @@
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
use clap::{AppSettings, Clap}; use clap::{AppSettings, Clap};
use embassy::executor::{Executor, Spawner}; use embassy::executor::{Executor, Spawner};

View file

@ -1,5 +1,4 @@
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../serial_port.rs"] #[path = "../serial_port.rs"]
mod serial_port; mod serial_port;

View file

@ -1,5 +1,4 @@
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
use embassy::executor::Spawner; use embassy::executor::Spawner;
use embassy::time::{Duration, Timer}; use embassy::time::{Duration, Timer};

View file

@ -1,7 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
use defmt::info; use defmt::info;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
use defmt::info; use defmt::info;
use embassy::executor::Spawner; use embassy::executor::Spawner;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![allow(incomplete_features)]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]

View file

@ -1,7 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![allow(incomplete_features)]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![allow(incomplete_features)]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,7 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![allow(incomplete_features)]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;

View file

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(trait_alias)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[path = "../example_common.rs"] #[path = "../example_common.rs"]
mod example_common; mod example_common;