diff options
| author | Urgau <urgau@numericable.fr> | 2022-09-24 17:22:04 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2022-10-08 11:00:13 +0200 |
| commit | 5ae73634dc63e48a23467b970e2fbcc81cb2ec73 (patch) | |
| tree | 9e6dd7d15925f225e293f6e02c008579ad48954c /compiler/rustc_feature/src | |
| parent | c084c263977ba7376ce944b9dd6b8dffdc2eee48 (diff) | |
| download | rust-5ae73634dc63e48a23467b970e2fbcc81cb2ec73.tar.gz rust-5ae73634dc63e48a23467b970e2fbcc81cb2ec73.zip | |
Stabilize half_open_range_patterns
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/accepted.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs index 8efb7ccc1c7..ca12659695f 100644 --- a/compiler/rustc_feature/src/accepted.rs +++ b/compiler/rustc_feature/src/accepted.rs @@ -169,6 +169,8 @@ declare_features! ( (accepted, global_allocator, "1.28.0", Some(27389), None), // FIXME: explain `globs`. (accepted, globs, "1.0.0", None, None), + /// Allows using `..=X` as a pattern. + (accepted, half_open_range_patterns, "CURRENT_RUSTC_VERSION", Some(67264), None), /// Allows using the `u128` and `i128` types. (accepted, i128_type, "1.26.0", Some(35118), None), /// Allows the use of `if let` expressions. |
