aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/idle-input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfail/idle-input.rs')
-rw-r--r--tests/cfail/idle-input.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cfail/idle-input.rs b/tests/cfail/idle-input.rs
index 5095977e..feb83e8b 100644
--- a/tests/cfail/idle-input.rs
+++ b/tests/cfail/idle-input.rs
@@ -10,10 +10,10 @@ use rtfm::app;
#[app(device = lm3s6965)]
const APP: () = {
#[init]
- fn init() {}
+ fn init(_: init::Context) {}
#[idle]
- fn idle(undef: u32) {
- //~^ ERROR `idle` must have type signature `[unsafe] fn() -> !`
+ fn idle(_: idle::Context, undef: u32) {
+ //~^ ERROR `idle` must have type signature `fn(idle::Context) -> !`
}
};