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/interrupt-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/interrupt-args.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/interrupt-args.rs | 3 |
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() {} |