diff options
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs b/cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs index c4914db..5eeb49f 100644 --- a/cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs +++ b/cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs @@ -7,5 +7,5 @@ extern crate panic_semihosting; use cortex_m_rt::entry; #[entry] //~ ERROR custom attribute panicked -//~^ HELP `#[entry]` function must have signature `fn() -> !` +//~^ HELP `#[entry]` function must have signature `[unsafe] fn() -> !` fn foo() {} |