fix custom mir doc tests
This commit is contained in:
parent
f4ff423d67
commit
9480314416
1 changed files with 4 additions and 2 deletions
|
@ -60,7 +60,8 @@
|
|||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
//! ```rust
|
||||
#![cfg_attr(bootstrap, doc = "```rust,compile_fail")]
|
||||
#![cfg_attr(not(bootstrap), doc = "```rust")]
|
||||
//! #![feature(core_intrinsics, custom_mir)]
|
||||
//!
|
||||
//! extern crate core;
|
||||
|
@ -291,7 +292,8 @@ define!(
|
|||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
#[cfg_attr(bootstrap, doc = "```rust,compile_fail")]
|
||||
#[cfg_attr(not(bootstrap), doc = "```rust")]
|
||||
/// #![feature(custom_mir, core_intrinsics)]
|
||||
///
|
||||
/// extern crate core;
|
||||
|
|
Loading…
Add table
Reference in a new issue