diff options
author | 2018-10-26 22:09:00 +0200 | |
---|---|---|
committer | 2018-10-26 22:09:00 +0200 | |
commit | 5baf35a9942621ec38e06ebd98574778e41451bd (patch) | |
tree | 5708703b1f9849f6f20aa13f86d23725935b6342 /cortex-m-rt/tests/compile-fail/exception-args.rs | |
parent | adf49361cd19291005bbc9645e41ed334abb2e66 (diff) | |
download | cortex-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.rs | 3 |
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() {} |