aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2020-01-16 14:23:04 +0100
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2020-01-16 14:24:24 +0100
commit6c0464c63b08dcd9cb61b07c67c86d884a34b11d (patch)
tree61dedad6473e6f29164fc666a909b55b79292949 /cortex-m-rt/tests
parent447798a4f9ce76d9c8d51bc1c53d6ce51fa9d7e6 (diff)
downloadcortex-m-6c0464c63b08dcd9cb61b07c67c86d884a34b11d.tar.gz
cortex-m-6c0464c63b08dcd9cb61b07c67c86d884a34b11d.tar.zst
cortex-m-6c0464c63b08dcd9cb61b07c67c86d884a34b11d.zip
Even better error messages
# Please enter the commit message for your changes. Lines starting Formating fix
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 {}
}