aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests')
-rw-r--r--cortex-m-rt/tests/compile-fail/whitelist-double-attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/whitelist-double-attr.rs b/cortex-m-rt/tests/compile-fail/whitelist-double-attr.rs
index 2900eb7..31da76a 100644
--- a/cortex-m-rt/tests/compile-fail/whitelist-double-attr.rs
+++ b/cortex-m-rt/tests/compile-fail/whitelist-double-attr.rs
@@ -7,7 +7,7 @@ extern crate panic_halt;
use cortex_m_rt::{entry, exception};
#[exception]
-#[entry] //~ ERROR multiple cortex-m-rt attributes are not supported on the same function
+#[entry] //~ ERROR this attribute is not allowed on an exception handler
fn SVCall() -> ! {
loop {}
}