diff options
author | 2018-09-06 01:24:01 +0200 | |
---|---|---|
committer | 2018-09-06 01:24:01 +0200 | |
commit | 19fcb13d22a56e01fd2fa5d34051196f59c9511b (patch) | |
tree | 8cec0b0edef2b5e29a348d7fb7b1437fef133bf3 /cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs | |
parent | bc526b8d74cb548c9da8d5c10d6013008e164ba5 (diff) | |
download | cortex-m-19fcb13d22a56e01fd2fa5d34051196f59c9511b.tar.gz cortex-m-19fcb13d22a56e01fd2fa5d34051196f59c9511b.tar.zst cortex-m-19fcb13d22a56e01fd2fa5d34051196f59c9511b.zip |
relax checks of the signatures of `entry` and the exceptions
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs b/cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs index 1f4b707..966493e 100644 --- a/cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs +++ b/cortex-m-rt/tests/compile-fail/exception-bad-signature-1.rs @@ -12,5 +12,5 @@ fn foo() -> ! { } #[exception] //~ ERROR custom attribute panicked -//~^ HELP `#[exception]` functions other than `DefaultHandler` and `HardFault` must have signature `fn()` +//~^ HELP `#[exception]` functions other than `DefaultHandler` and `HardFault` must have signature `[unsafe] fn() [-> !]` fn SysTick(undef: u32) {} |