about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-12 16:11:27 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-02-12 16:11:59 +0100
commit1431c216feaca4a551c26778e2e6309eb00fbe2b (patch)
treee2e0044156aa40bb08a27bd90bcedb1dde00e153
parentd1731801163df1d3a8d4ddfa68adac2ec833ef7f (diff)
downloadrust-1431c216feaca4a551c26778e2e6309eb00fbe2b.tar.gz
rust-1431c216feaca4a551c26778e2e6309eb00fbe2b.zip
Remove some dead code from libcore
These macros are not required to glue the `core_arch` crate anymore.
-rw-r--r--src/libcore/lib.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 78f1c3c0dff..6e0fc9f1ffe 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -226,20 +226,6 @@ mod unit;
 // `core_arch` depends on libcore, but the contents of this module are
 // set up in such a way that directly pulling it here works such that the
 // crate uses the this crate as its libcore.
-#[allow(unused_macros)]
-macro_rules! test_v16 { ($item:item) => {}; }
-#[allow(unused_macros)]
-macro_rules! test_v32 { ($item:item) => {}; }
-#[allow(unused_macros)]
-macro_rules! test_v64 { ($item:item) => {}; }
-#[allow(unused_macros)]
-macro_rules! test_v128 { ($item:item) => {}; }
-#[allow(unused_macros)]
-macro_rules! test_v256 { ($item:item) => {}; }
-#[allow(unused_macros)]
-macro_rules! test_v512 { ($item:item) => {}; }
-#[allow(unused_macros)]
-macro_rules! vector_impl { ($([$f:ident, $($args:tt)*]),*) => { $($f!($($args)*);)* } }
 #[path = "../stdsimd/crates/core_arch/src/mod.rs"]
 #[allow(missing_docs, missing_debug_implementations, dead_code, unused_imports)]
 #[unstable(feature = "stdsimd", issue = "48556")]