reword the comments in compile-fail tests

This commit is contained in:
Jorge Aparicio 2017-04-21 21:24:28 -05:00
parent 1c82f1b119
commit eea8030083
11 changed files with 129 additions and 73 deletions

View file

@ -2,8 +2,6 @@
#![feature(used)]
extern crate core;
extern crate cortex_m;
#[macro_use]
extern crate cortex_m_rtfm as rtfm;
@ -23,6 +21,10 @@ fn idle(_: P0) -> ! {
// Wrong task token. Declared Exti0, got Exti1
fn j1(_task: Exti1, _prio: P1) {}
// fake device crate
extern crate core;
extern crate cortex_m;
mod device {
pub mod interrupt {
use cortex_m::interrupt::Nr;