aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/init-divergent.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/cfail/init-divergent.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cfail/init-divergent.rs b/tests/cfail/init-divergent.rs
index 54813d47..0e779ffc 100644
--- a/tests/cfail/init-divergent.rs
+++ b/tests/cfail/init-divergent.rs
@@ -10,8 +10,8 @@ use rtfm::app;
#[app(device = lm3s6965)]
const APP: () = {
#[init]
- fn init() -> ! {
- //~^ ERROR `init` must have type signature `[unsafe] fn() [-> init::LateResources]`
+ fn init(_: init::Context) -> ! {
+ //~^ ERROR `init` must have type signature `fn(init::Context) [-> init::LateResources]`
loop {}
}
};