Skip to content

Commit 6562c28

Browse files
authored
Rollup merge of rust-lang#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.
2 parents f3c4652 + 1431c21 commit 6562c28

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Diff for: src/libcore/lib.rs

-14
Original file line numberDiff line numberDiff line change
@@ -227,20 +227,6 @@ mod unit;
227227
// `core_arch` depends on libcore, but the contents of this module are
228228
// set up in such a way that directly pulling it here works such that the
229229
// crate uses the this crate as its libcore.
230-
#[allow(unused_macros)]
231-
macro_rules! test_v16 { ($item:item) => {}; }
232-
#[allow(unused_macros)]
233-
macro_rules! test_v32 { ($item:item) => {}; }
234-
#[allow(unused_macros)]
235-
macro_rules! test_v64 { ($item:item) => {}; }
236-
#[allow(unused_macros)]
237-
macro_rules! test_v128 { ($item:item) => {}; }
238-
#[allow(unused_macros)]
239-
macro_rules! test_v256 { ($item:item) => {}; }
240-
#[allow(unused_macros)]
241-
macro_rules! test_v512 { ($item:item) => {}; }
242-
#[allow(unused_macros)]
243-
macro_rules! vector_impl { ($([$f:ident, $($args:tt)*]),*) => { $($f!($($args)*);)* } }
244230
#[path = "../stdsimd/crates/core_arch/src/mod.rs"]
245231
#[allow(missing_docs, missing_debug_implementations, dead_code, unused_imports)]
246232
#[unstable(feature = "stdsimd", issue = "48556")]

0 commit comments

Comments
 (0)