aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/init-divergent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfail/init-divergent.rs')
-rw-r--r--tests/cfail/init-divergent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cfail/init-divergent.rs b/tests/cfail/init-divergent.rs
index 400c805..54813d4 100644
--- a/tests/cfail/init-divergent.rs
+++ b/tests/cfail/init-divergent.rs
@@ -11,7 +11,7 @@ use rtfm::app;
const APP: () = {
#[init]
fn init() -> ! {
- //~^ ERROR `init` must have type signature `[unsafe] fn()`
+ //~^ ERROR `init` must have type signature `[unsafe] fn() [-> init::LateResources]`
loop {}
}
};