diff options
author | 2020-01-16 13:02:47 +0100 | |
---|---|---|
committer | 2020-01-16 13:07:19 +0100 | |
commit | 447798a4f9ce76d9c8d51bc1c53d6ce51fa9d7e6 (patch) | |
tree | dc2fd4d56f10479b903f9e6b4767db52ac16cdb7 /cortex-m-rt/macros/src | |
parent | 58949206e3a752dbfd47521d2b6bfdafa9010c90 (diff) | |
download | cortex-m-447798a4f9ce76d9c8d51bc1c53d6ce51fa9d7e6.tar.gz cortex-m-447798a4f9ce76d9c8d51bc1c53d6ce51fa9d7e6.tar.zst cortex-m-447798a4f9ce76d9c8d51bc1c53d6ce51fa9d7e6.zip |
Better error message
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'cortex-m-rt/macros/src')
-rw-r--r-- | cortex-m-rt/macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/macros/src/lib.rs b/cortex-m-rt/macros/src/lib.rs index 177ed4e..57cddd1 100644 --- a/cortex-m-rt/macros/src/lib.rs +++ b/cortex-m-rt/macros/src/lib.rs @@ -839,7 +839,7 @@ fn check_attr_whitelist(attrs: &[Attribute]) -> Result<(), TokenStream> { return Err( parse::Error::new( attr.span(), - "cortex-m-rt does not support multiple attributes on the same function", + "multiple cortex-m-rt attributes are not supported on the same function", ) .to_compile_error() .into(), |