aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/task-not-declared.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/cfail/task-not-declared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cfail/task-not-declared.rs b/tests/cfail/task-not-declared.rs
index 3e6d87c4..04309f59 100644
--- a/tests/cfail/task-not-declared.rs
+++ b/tests/cfail/task-not-declared.rs
@@ -10,5 +10,5 @@ use rtfm::app;
#[app(device = lm3s6965)]
const APP: () = {
#[init(spawn = [X])] //~ ERROR this task has NOT been declared
- fn init() {}
+ fn init(_: init::Context) {}
};