]> git.lizzy.rs Git - rust.git/commitdiff
hir: remove an unused hir_vec macro pattern
authorljedrz <ljedrz@gmail.com>
Tue, 13 Nov 2018 14:50:31 +0000 (15:50 +0100)
committerljedrz <ljedrz@gmail.com>
Tue, 13 Nov 2018 16:34:17 +0000 (17:34 +0100)
src/librustc/hir/mod.rs

index f57e3ff913b38dd407a7b856fde7093c2281edc4..dda94bd26bed16120bdfe9f75c6d218b428e4f25 100644 (file)
@@ -58,7 +58,6 @@ macro_rules! hir_vec {
     ($($x:expr),*) => (
         $crate::hir::HirVec::from(vec![$($x),*])
     );
-    ($($x:expr,)*) => (hir_vec![$($x),*])
 }
 
 pub mod check_attr;