aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils/src
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-25 07:32:13 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-25 07:32:13 +0000
commit946aea3eb34d1b7f09900e017bb94708e6299d0a (patch)
treea662d8e9c63835950af45792dd538ce7d30b9251 /crates/test_utils/src
parent675943712ce92e0ce04e85e6952f50bcbf1ee611 (diff)
parent0707f65806961028f2be64812869c66020e2a1a6 (diff)
Merge #634
634: rename def_id -> def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/test_utils/src')
-rw-r--r--crates/test_utils/src/marks.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/test_utils/src/marks.rs b/crates/test_utils/src/marks.rs
index 79ffedf69..ee47b5219 100644
--- a/crates/test_utils/src/marks.rs
+++ b/crates/test_utils/src/marks.rs
@@ -46,11 +46,13 @@ macro_rules! covers {
46} 46}
47 47
48#[macro_export] 48#[macro_export]
49macro_rules! mark { 49macro_rules! marks {
50 ($ident:ident) => { 50 ($($ident:ident)*) => {
51 $(
51 #[allow(bad_style)] 52 #[allow(bad_style)]
52 pub(crate) static $ident: std::sync::atomic::AtomicUsize = 53 pub(crate) static $ident: std::sync::atomic::AtomicUsize =
53 std::sync::atomic::AtomicUsize::new(0); 54 std::sync::atomic::AtomicUsize::new(0);
55 )*
54 }; 56 };
55} 57}
56 58