fix custom mir doc tests

This commit is contained in:
Lukas Markeffsky 2022-12-26 22:40:14 +01:00 committed by Mark Rousskov
parent f4ff423d67
commit 9480314416

View file

@ -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;