]> git.lizzy.rs Git - rust.git/commitdiff
Remove some dead code from libcore
authorgnzlbg <gonzalobg88@gmail.com>
Tue, 12 Feb 2019 15:11:27 +0000 (16:11 +0100)
committergnzlbg <gonzalobg88@gmail.com>
Tue, 12 Feb 2019 15:11:59 +0000 (16:11 +0100)
These macros are not required to glue the `core_arch` crate anymore.

src/libcore/lib.rs

index 78f1c3c0dffa5a1c9a5334cefc32c8696961e067..6e0fc9f1ffeec57e86ddf0b454b87d9eab68dcdf 100644 (file)
 // `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")]