Skip to content

Commit f78b08e

Browse files
committed
Add generic_nonzero to feature list.
1 parent cac6059 commit f78b08e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

compiler/rustc_feature/src/unstable.rs

+2
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ declare_features! (
483483
(incomplete, generic_const_exprs, "1.56.0", Some(76560)),
484484
/// Allows generic parameters and where-clauses on free & associated const items.
485485
(incomplete, generic_const_items, "1.73.0", Some(113521)),
486+
/// Allows usage of the generic `NonZero<T>` type.
487+
(unstable, generic_nonzero, "1.77.0", Some(120257)),
486488
/// Allows using `..=X` as a patterns in slices.
487489
(unstable, half_open_range_patterns_in_slices, "1.66.0", Some(67264)),
488490
/// Allows `if let` guard in match arms.

compiler/rustc_span/src/symbol.rs

+1
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ symbols! {
845845
generic_associated_types_extended,
846846
generic_const_exprs,
847847
generic_const_items,
848+
generic_nonzero,
848849
generic_param_attrs,
849850
get_context,
850851
global_allocator,

0 commit comments

Comments
 (0)