aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs b/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs
index ed46cf6..d2fb210 100644
--- a/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs
+++ b/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs
@@ -11,8 +11,8 @@ fn foo() -> ! {
loop {}
}
-#[exception] //~ ERROR custom attribute panicked
-//~^ HELP `#[exception]` functions other than `DefaultHandler` and `HardFault` must have signature `[unsafe] fn() [-> !]`
+#[exception]
fn SysTick() -> u32 {
+ //~^ ERROR `#[exception]` handlers other than `DefaultHandler` and `HardFault` must have signature `[unsafe] fn() [-> !]`
0
}