Skip to content

Commit

Permalink
Revert "Add generic_nonzero to feature list."
Browse files Browse the repository at this point in the history
This reverts commit 6b3c695.
  • Loading branch information
dtolnay committed Feb 24, 2024
1 parent 37b3922 commit 62f2d37
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions compiler/rustc_feature/src/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,6 @@ 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 usage of the generic `NonZero<T>` type.
(unstable, generic_nonzero, "1.77.0", Some(120257)),
/// 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.
Expand Down
1 change: 0 additions & 1 deletion compiler/rustc_span/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,6 @@ symbols! {
generic_associated_types_extended,
generic_const_exprs,
generic_const_items,
generic_nonzero,
generic_param_attrs,
get_context,
global_allocator,
Expand Down
6 changes: 0 additions & 6 deletions tests/ui/feature-gates/feature-gate-generic_nonzero.rs

This file was deleted.

0 comments on commit 62f2d37

Please sign in to comment.