We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b1f736 commit 218e5b2Copy full SHA for 218e5b2
library/core/src/intrinsics/mir.rs
@@ -60,7 +60,8 @@
60
//!
61
//! # Examples
62
63
-//! ```rust
+#![cfg_attr(bootstrap, doc = "```rust,compile_fail")]
64
+#![cfg_attr(not(bootstrap), doc = "```rust")]
65
//! #![feature(core_intrinsics, custom_mir)]
66
67
//! extern crate core;
@@ -291,7 +292,8 @@ define!(
291
292
///
293
/// # Examples
294
- /// ```rust
295
+ #[cfg_attr(bootstrap, doc = "```rust,compile_fail")]
296
+ #[cfg_attr(not(bootstrap), doc = "```rust")]
297
/// #![feature(custom_mir, core_intrinsics)]
298
299
/// extern crate core;
0 commit comments