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