Rollup merge of #136167 - pitaj:new_range, r=Nadrieril
Implement unstable `new_range` feature Switches `a..b`, `a..`, and `a..=b` to resolve to the new range types. For rust-lang/rfcs#3550 Tracking issue #123741 also adds the re-export that was missed in the original implementation of `new_range_api`
This commit is contained in:
commit
d31e137d6a
29 changed files with 252 additions and 54 deletions
|
@ -570,6 +570,8 @@ declare_features! (
|
|||
(unstable, never_type, "1.13.0", Some(35121)),
|
||||
/// Allows diverging expressions to fall back to `!` rather than `()`.
|
||||
(unstable, never_type_fallback, "1.41.0", Some(65992)),
|
||||
/// Switch `..` syntax to use the new (`Copy + IntoIterator`) range types.
|
||||
(unstable, new_range, "CURRENT_RUSTC_VERSION", Some(123741)),
|
||||
/// Allows `#![no_core]`.
|
||||
(unstable, no_core, "1.3.0", Some(29639)),
|
||||
/// Allows the use of `no_sanitize` attribute.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue