Skip to content

Commit 62f2d37

Browse files
committed
Revert "Add generic_nonzero to feature list."
This reverts commit 6b3c695.
1 parent 37b3922 commit 62f2d37

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

compiler/rustc_feature/src/unstable.rs

-2
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,6 @@ 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)),
488486
/// Allows using `..=X` as a patterns in slices.
489487
(unstable, half_open_range_patterns_in_slices, "1.66.0", Some(67264)),
490488
/// Allows `if let` guard in match arms.

compiler/rustc_span/src/symbol.rs

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

tests/ui/feature-gates/feature-gate-generic_nonzero.rs

-6
This file was deleted.

0 commit comments

Comments
 (0)