diff options
Diffstat (limited to 'tests/cfail/idle-not-divergent.rs')
-rw-r--r-- | tests/cfail/idle-not-divergent.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cfail/idle-not-divergent.rs b/tests/cfail/idle-not-divergent.rs index e90eff08..505fba14 100644 --- a/tests/cfail/idle-not-divergent.rs +++ b/tests/cfail/idle-not-divergent.rs @@ -10,10 +10,10 @@ use rtfm::app; #[app(device = lm3s6965)] const APP: () = { #[init] - fn init() {} + fn init(_: init::Context) {} #[idle] - fn idle() { - //~^ ERROR `idle` must have type signature `[unsafe] fn() -> !` + fn idle(_: idle::Context) { + //~^ ERROR `idle` must have type signature `fn(idle::Context) -> !` } }; |