diff options
author | 2022-01-26 01:00:24 +0000 | |
---|---|---|
committer | 2022-01-26 01:00:24 +0000 | |
commit | 966b99da5135b788a0fdacf328f3935ea0c679b3 (patch) | |
tree | ca5f151626fa2e745fdd9d94d4e5fd7af636d5be /cortex-m-rt/macros/src/lib.rs | |
parent | 08111803edae11ab0fa4d0f287a865f434f4c12c (diff) | |
download | cortex-m-966b99da5135b788a0fdacf328f3935ea0c679b3.tar.gz cortex-m-966b99da5135b788a0fdacf328f3935ea0c679b3.tar.zst cortex-m-966b99da5135b788a0fdacf328f3935ea0c679b3.zip |
Fix #414
Partially reverts https://github.com/rust-embedded/cortex-m-rt/pull/224
to continue to use a fully-qualified path to `exception`.
Diffstat (limited to 'cortex-m-rt/macros/src/lib.rs')
-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 24f3fa1..4383d06 100644 --- a/cortex-m-rt/macros/src/lib.rs +++ b/cortex-m-rt/macros/src/lib.rs @@ -328,7 +328,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream { f.block.stmts = iter::once( syn::parse2(quote! {{ // check that this exception actually exists - exception::#ident; + cortex_m_rt::exception::#ident; }}) .unwrap(), ) |