diff options
| author | Peter Jaszkowiak <p.jaszkow@gmail.com> | 2025-01-27 13:32:10 -0700 |
|---|---|---|
| committer | Peter Jaszkowiak <p.jaszkow@gmail.com> | 2025-01-30 21:33:11 -0700 |
| commit | f530a29944ff1eba9a146704ba2f13b94331be5d (patch) | |
| tree | 06bea3432752ffd1127f222d618dde4f8dbb2832 /compiler/rustc_feature | |
| parent | 95eaadc773eb4adab8f46cd77083d1d503fd5bff (diff) | |
| download | rust-f530a29944ff1eba9a146704ba2f13b94331be5d.tar.gz rust-f530a29944ff1eba9a146704ba2f13b94331be5d.zip | |
implement unstable `new_range` feature
for RFC 3550, tracking issue #123741
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 1a216ebf117..7a30c8d4737 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -568,6 +568,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. |
