We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[allow(unreachable_pub)]
pub use
1 parent 9412a16 commit 7c020aeCopy full SHA for 7c020ae
core/src/arch.rs
@@ -1,6 +1,14 @@
1
#![doc = include_str!("../../stdarch/crates/core_arch/src/core_arch_docs.md")]
2
3
-#[allow(unused_imports)]
+#[allow(
4
+ // some targets don't have anything to reexport, which
5
+ // makes the `pub use` unused and unreachable, allow
6
+ // both lints as to not have `#[cfg]`s
7
+ //
8
+ // cf. https://github.com/rust-lang/rust/pull/116033#issuecomment-1760085575
9
+ unused_imports,
10
+ unreachable_pub
11
+)]
12
#[stable(feature = "simd_arch", since = "1.27.0")]
13
pub use crate::core_arch::arch::*;
14
0 commit comments