Skip to content

Commit

Permalink
Merge pull request #160 from crlf0710/master
Browse files Browse the repository at this point in the history
Add `local_inner_macros` for 2018 edition support.
  • Loading branch information
paholg authored Mar 12, 2021
2 parents 8362450 + 5cf10f7 commit e55577e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ assert_type_eq!(op!({ex0}), {ex1});
write!(
f,
"*/
#[macro_export]
#[macro_export(local_inner_macros)]
macro_rules! op {{
($($tail:tt)*) => ( __op_internal__!($($tail)*) );
}}
#[doc(hidden)]
#[macro_export]
#[macro_export(local_inner_macros)]
macro_rules! __op_internal__ {{
"
)?;
Expand Down

0 comments on commit e55577e

Please sign in to comment.