Skip to content

Commit

Permalink
tests: fix compiling tests with beta and nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 18, 2024
1 parent a7dbafe commit e71ac23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/memchr/prop.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#[cfg(miri)]
#[macro_export]
#[allow(missing_docs)]
macro_rules! define_memchr_quickcheck {
($($tt:tt)*) => {};
}

#[cfg(not(miri))]
#[macro_export]
#[allow(missing_docs)]
macro_rules! define_memchr_quickcheck {
($mod:ident) => {
define_memchr_quickcheck!($mod, new);
Expand Down

0 comments on commit e71ac23

Please sign in to comment.