mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
Support bootstrap.
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
//!
|
||||
//! Typical usage will look like this:
|
||||
//!
|
||||
//! ```rust
|
||||
#![cfg_attr(bootstrap, doc = "```rust,ignore")]
|
||||
#![cfg_attr(not(bootstrap), doc = "```rust")]
|
||||
//! #![feature(core_intrinsics, custom_mir)]
|
||||
//! #![allow(internal_features)]
|
||||
//!
|
||||
@@ -62,7 +63,8 @@
|
||||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
//! ```rust
|
||||
#![cfg_attr(bootstrap, doc = "```rust,ignore")]
|
||||
#![cfg_attr(not(bootstrap), doc = "```rust")]
|
||||
//! #![feature(core_intrinsics, custom_mir)]
|
||||
//! #![allow(internal_features)]
|
||||
//!
|
||||
@@ -317,7 +319,8 @@ fn Discriminant<T>(place: T) -> <T as ::core::marker::DiscriminantKind>::Discrim
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
#[cfg_attr(bootstrap, doc = "```rust,ignore")]
|
||||
#[cfg_attr(not(bootstrap), doc = "```rust")]
|
||||
/// #![allow(internal_features)]
|
||||
/// #![feature(custom_mir, core_intrinsics)]
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user