1
Fork 0

Prevent generic pattern types from being used in libstd

This commit is contained in:
Oli Scherer 2025-02-05 11:45:50 +00:00
parent 8df89d1cb0
commit fab6d8ae8c
7 changed files with 101 additions and 11 deletions

View file

@ -507,6 +507,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 any generic constants being used as pattern type range ends
(incomplete, generic_pattern_types, "CURRENT_RUSTC_VERSION", Some(136574)),
/// Allows registering static items globally, possibly across crates, to iterate over at runtime.
(unstable, global_registration, "1.80.0", Some(125119)),
/// Allows using guards in patterns.