aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/exception-args.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2018-10-26 22:09:00 +0200
committerGravatar Jorge Aparicio <jorge@japaric.io> 2018-10-26 22:09:00 +0200
commit5baf35a9942621ec38e06ebd98574778e41451bd (patch)
tree5708703b1f9849f6f20aa13f86d23725935b6342 /cortex-m-rt/tests/compile-fail/exception-args.rs
parentadf49361cd19291005bbc9645e41ed334abb2e66 (diff)
downloadcortex-m-5baf35a9942621ec38e06ebd98574778e41451bd.tar.gz
cortex-m-5baf35a9942621ec38e06ebd98574778e41451bd.tar.zst
cortex-m-5baf35a9942621ec38e06ebd98574778e41451bd.zip
update error messages in compile-fail tests
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/exception-args.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/exception-args.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compile-fail/exception-args.rs b/cortex-m-rt/tests/compile-fail/exception-args.rs
index 472a583..518ac03 100644
--- a/cortex-m-rt/tests/compile-fail/exception-args.rs
+++ b/cortex-m-rt/tests/compile-fail/exception-args.rs
@@ -11,6 +11,5 @@ fn foo() -> ! {
loop {}
}
-#[exception(SysTick)] //~ ERROR custom attribute panicked
-//~^ HELP `exception` attribute must have no arguments
+#[exception(SysTick)] //~ ERROR This attribute accepts no arguments
fn SysTick() {}