File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ mod tests {
114
114
}
115
115
}
116
116
117
+ #[ cfg( feature = "unproven" ) ]
117
118
#[ allow( deprecated) ]
118
119
impl v1:: StatefulOutputPin for OldOutputPinImpl {
119
120
fn is_set_low ( & self ) -> bool {
@@ -125,6 +126,7 @@ mod tests {
125
126
}
126
127
}
127
128
129
+ #[ cfg( feature = "unproven" ) ]
128
130
#[ allow( deprecated) ]
129
131
impl v1:: toggleable:: Default for OldOutputPinImpl { }
130
132
@@ -139,10 +141,12 @@ mod tests {
139
141
}
140
142
}
141
143
144
+ #[ cfg( feature = "unproven" ) ]
142
145
struct NewToggleablePinConsumer < T : v2:: ToggleableOutputPin > {
143
146
_pin : T ,
144
147
}
145
148
149
+ #[ cfg( feature = "unproven" ) ]
146
150
impl < T > NewToggleablePinConsumer < T >
147
151
where
148
152
T : v2:: ToggleableOutputPin ,
@@ -152,6 +156,7 @@ mod tests {
152
156
}
153
157
}
154
158
159
+ #[ cfg( feature = "unproven" ) ]
155
160
#[ test]
156
161
fn v2_v1_toggleable_implicit ( ) {
157
162
let i = OldOutputPinImpl { state : false } ;
Original file line number Diff line number Diff line change 238
238
//! An example of running two tasks concurrently. First task: blink an LED every
239
239
//! second. Second task: loop back data over the serial interface.
240
240
//!
241
- //! ```
241
+ //! ```not_run
242
242
//! extern crate embedded_hal as hal;
243
243
//! extern crate futures;
244
244
//!
379
379
//!
380
380
//! Same example as above but using `await!` instead of `futures`.
381
381
//!
382
- //! ```
382
+ //! ```not_run
383
383
//! #![feature(generator_trait)]
384
384
//! #![feature(generators)]
385
385
//!
551
551
//!
552
552
//! - Asynchronous SPI transfer
553
553
//!
554
- //! ```
554
+ //! ```not_run
555
555
//! #![feature(conservative_impl_trait)]
556
556
//! #![feature(generators)]
557
557
//! #![feature(generator_trait)]
You can’t perform that action at this time.
0 commit comments