Bump stage0 compiler to 1.56

This commit is contained in:
Mark Rousskov
2021-09-08 13:13:47 -04:00
parent 97032a6dfa
commit b4e7649d6d
29 changed files with 344 additions and 430 deletions

View File

@@ -615,8 +615,7 @@ mod prim_pointer {}
/// Starting in the 2021 edition, `array.into_iter()` uses `IntoIterator` normally to iterate
/// by value, and `iter()` should be used to iterate by reference like previous editions.
///
#[cfg_attr(bootstrap, doc = "```rust,edition2021,ignore")]
#[cfg_attr(not(bootstrap), doc = "```rust,edition2021")]
/// ```rust,edition2021
/// // Rust 2021:
///
/// let array: [i32; 3] = [0; 3];