aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/entry-bad-signature-1.rs
diff options
context:
space:
mode:
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.rs4
1 files changed, 2 insertions, 2 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 5fe9a1a..1ed3649 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
@@ -6,6 +6,6 @@ extern crate panic_halt;
use cortex_m_rt::entry;
-#[entry] //~ ERROR custom attribute panicked
-//~^ HELP `#[entry]` function must have signature `[unsafe] fn() -> !`
+#[entry]
fn foo() {}
+//~^ ERROR `#[entry]` function must have signature `[unsafe] fn() -> !`