Ignore array IntoIterator tests in bootstrap
This commit is contained in:
parent
2a97c690bc
commit
f6a90ca168
1 changed files with 4 additions and 2 deletions
|
@ -517,7 +517,8 @@ mod prim_pointer {}
|
|||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
#[cfg_attr(bootstrap, doc = "```ignore")]
|
||||
#[cfg_attr(not(bootstrap), doc = "```")]
|
||||
/// let mut array: [i32; 3] = [0; 3];
|
||||
///
|
||||
/// array[1] = 1;
|
||||
|
@ -555,7 +556,8 @@ mod prim_pointer {}
|
|||
/// `array.into_iter()` auto-referenced into a slice iterator. That behavior is preserved in the
|
||||
/// 2015 and 2018 editions of Rust for compatability, ignoring `IntoIterator` by value.
|
||||
///
|
||||
/// ```rust,edition2018
|
||||
#[cfg_attr(bootstrap, doc = "```rust,edition2018,ignore")]
|
||||
#[cfg_attr(not(bootstrap), doc = "```rust,edition2018")]
|
||||
/// # #![allow(array_into_iter)] // override our `deny(warnings)`
|
||||
/// let array: [i32; 3] = [0; 3];
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue