diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-13 04:37:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-13 04:37:09 +0100 |
| commit | 6562c2860730aee4497f58b00c298d054ff2e0b7 (patch) | |
| tree | cbbbb0b46cf4a3694316b2462ae2dcf7321468e4 /src/libcore | |
| parent | f3c4652d0c2529680222c53ea50a7aabdee28e3b (diff) | |
| parent | 1431c216feaca4a551c26778e2e6309eb00fbe2b (diff) | |
| download | rust-6562c2860730aee4497f58b00c298d054ff2e0b7.tar.gz rust-6562c2860730aee4497f58b00c298d054ff2e0b7.zip | |
Rollup merge of #58405 - gnzlbg:remove_unused_macros, r=alexcrichton
Remove some dead code from libcore These macros are not required to glue the `core_arch` crate anymore.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/lib.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 419980225c3..227fb22bc7d 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -227,20 +227,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")] |
