about summary refs log tree commit diff
path: root/crates/test_utils/src/marks.rs
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-01-25 10:08:21 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-01-25 10:08:21 +0300
commit857c35ddb03ee5db97bbb4743dfeedeb3df350ec (patch)
treef142de082849544273bc7b65c823e45a095b30b2 /crates/test_utils/src/marks.rs
parent1d4b421aad0bbcd26d88e65b28dbbb4efb51d155 (diff)
downloadrust-857c35ddb03ee5db97bbb4743dfeedeb3df350ec.tar.gz
rust-857c35ddb03ee5db97bbb4743dfeedeb3df350ec.zip
refactor import resolution
extract path resolution
use enums instead of bools
Diffstat (limited to 'crates/test_utils/src/marks.rs')
-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 79ffedf69bc..ee47b521981 100644
--- a/crates/test_utils/src/marks.rs
+++ b/crates/test_utils/src/marks.rs
@@ -46,11 +46,13 @@ macro_rules! covers {
 }
 
 #[macro_export]
-macro_rules! mark {
-    ($ident:ident) => {
+macro_rules! marks {
+    ($($ident:ident)*) => {
+        $(
         #[allow(bad_style)]
         pub(crate) static $ident: std::sync::atomic::AtomicUsize =
             std::sync::atomic::AtomicUsize::new(0);
+        )*
     };
 }