aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/interrupt-args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/interrupt-args.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/interrupt-args.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compile-fail/interrupt-args.rs b/cortex-m-rt/tests/compile-fail/interrupt-args.rs
index 36af388..9630ce1 100644
--- a/cortex-m-rt/tests/compile-fail/interrupt-args.rs
+++ b/cortex-m-rt/tests/compile-fail/interrupt-args.rs
@@ -15,6 +15,5 @@ enum interrupt {
USART1,
}
-#[interrupt(true)] //~ ERROR custom attribute panicked
-//~^ HELP `interrupt` attribute must have no arguments
+#[interrupt(true)] //~ ERROR This attribute accepts no arguments
fn USART1() {}