1
Fork 0

create a feature gate

This commit is contained in:
jdonszelmann 2024-05-14 16:10:05 +02:00
parent c45e831d8f
commit 42119ff45c
No known key found for this signature in database
GPG key ID: E0C1EA36407B2FF2
4 changed files with 5 additions and 0 deletions

View file

@ -487,6 +487,8 @@ declare_features! (
(incomplete, generic_const_exprs, "1.56.0", Some(76560)),
/// Allows generic parameters and where-clauses on free & associated const items.
(incomplete, generic_const_items, "1.73.0", Some(113521)),
/// Allows registring static items globally, possibly across crates, to iterate over at runtime.
(unstable, global_registration, "CURRENT_RUSTC_VERSION", Some(125119)),
/// Allows using `..=X` as a patterns in slices.
(unstable, half_open_range_patterns_in_slices, "1.66.0", Some(67264)),
/// Allows `if let` guard in match arms.