From 57fa47d5d39094e82800c9319bfeaf90ebb7ce7a Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 24 Jan 2019 11:06:20 +0100 Subject: [PATCH] Fix libcore doc tests --- library/stdarch/crates/core_arch/src/x86/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/stdarch/crates/core_arch/src/x86/mod.rs b/library/stdarch/crates/core_arch/src/x86/mod.rs index ee7c5219fe80..bc382082d359 100644 --- a/library/stdarch/crates/core_arch/src/x86/mod.rs +++ b/library/stdarch/crates/core_arch/src/x86/mod.rs @@ -39,6 +39,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")] @@ -90,6 +91,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")] @@ -135,6 +137,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")] @@ -180,6 +183,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")] @@ -229,6 +233,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")] @@ -274,6 +279,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")] @@ -319,6 +325,7 @@ types! { /// # extern crate std as real_std; /// # #[cfg(not(dox))] /// # extern crate core_arch as std; + /// # #[cfg(not(dox))] /// # #[macro_use(is_x86_feature_detected)] /// # extern crate std_detect; /// #[cfg(target_arch = "x86")]