File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ mod tests {
114114 }
115115 }
116116
117+ #[ cfg( feature = "unproven" ) ]
117118 #[ allow( deprecated) ]
118119 impl v1:: StatefulOutputPin for OldOutputPinImpl {
119120 fn is_set_low ( & self ) -> bool {
@@ -125,6 +126,7 @@ mod tests {
125126 }
126127 }
127128
129+ #[ cfg( feature = "unproven" ) ]
128130 #[ allow( deprecated) ]
129131 impl v1:: toggleable:: Default for OldOutputPinImpl { }
130132
@@ -139,10 +141,12 @@ mod tests {
139141 }
140142 }
141143
144+ #[ cfg( feature = "unproven" ) ]
142145 struct NewToggleablePinConsumer < T : v2:: ToggleableOutputPin > {
143146 _pin : T ,
144147 }
145148
149+ #[ cfg( feature = "unproven" ) ]
146150 impl < T > NewToggleablePinConsumer < T >
147151 where
148152 T : v2:: ToggleableOutputPin ,
@@ -152,6 +156,7 @@ mod tests {
152156 }
153157 }
154158
159+ #[ cfg( feature = "unproven" ) ]
155160 #[ test]
156161 fn v2_v1_toggleable_implicit ( ) {
157162 let i = OldOutputPinImpl { state : false } ;
Original file line number Diff line number Diff line change 238238//! An example of running two tasks concurrently. First task: blink an LED every
239239//! second. Second task: loop back data over the serial interface.
240240//!
241- //! ```
241+ //! ```not_run
242242//! extern crate embedded_hal as hal;
243243//! extern crate futures;
244244//!
379379//!
380380//! Same example as above but using `await!` instead of `futures`.
381381//!
382- //! ```
382+ //! ```not_run
383383//! #![feature(generator_trait)]
384384//! #![feature(generators)]
385385//!
551551//!
552552//! - Asynchronous SPI transfer
553553//!
554- //! ```
554+ //! ```not_run
555555//! #![feature(conservative_impl_trait)]
556556//! #![feature(generators)]
557557//! #![feature(generator_trait)]
You can’t perform that action at this time.
0 commit comments