aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/entry-args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/entry-args.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/entry-args.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compile-fail/entry-args.rs b/cortex-m-rt/tests/compile-fail/entry-args.rs
index b0d293c..5f0b837 100644
--- a/cortex-m-rt/tests/compile-fail/entry-args.rs
+++ b/cortex-m-rt/tests/compile-fail/entry-args.rs
@@ -6,8 +6,7 @@ extern crate panic_halt;
use cortex_m_rt::entry;
-#[entry(foo)] //~ ERROR custom attribute panicked
-//~^ HELP `entry` attribute must have no arguments
+#[entry(foo)] //~ ERROR This attribute accepts no arguments
fn foo() -> ! {
loop {}
}