]> git.lizzy.rs Git - rust.git/commitdiff
librustc_incremental: remove unused macro in test case
authorest31 <MTest31@outlook.com>
Sun, 14 May 2017 03:06:21 +0000 (05:06 +0200)
committerest31 <MTest31@outlook.com>
Sun, 14 May 2017 03:06:21 +0000 (05:06 +0200)
src/librustc_incremental/persist/preds/compress/test_macro.rs

index 31b30d2b2857cb253e97e8a1a94b581f8ae52ae2..044b143e306250944542e6b7fb12b3c73a090a21 100644 (file)
@@ -37,14 +37,3 @@ macro_rules! graph {
         }
     }
 }
-
-macro_rules! set {
-    ($( $value:expr ),*) => {
-        {
-            use $crate::rustc_data_structures::fx::FxHashSet;
-            let mut set = FxHashSet();
-            $(set.insert($value);)*
-            set
-        }
-    }
-}