From d0aaa2a805afdda30b49b3dfdb7072f302855a79 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 21 Apr 2019 20:20:15 +0200 Subject: update compile-fail tests --- tests/cfail/task-not-declared.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfail/task-not-declared.rs') 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) {} }; -- cgit v1.2.3