Skip to content

Commit

Permalink
Rollup merge of rust-lang#114556 - Enselic:issue-numbers-enforced, r=…
Browse files Browse the repository at this point in the history
…compiler-errors

Issue numbers are enforced on active features; remove FIXME

Since rust-lang#51090 tidy enforces that active features have an issue number, so remove the FIXME.

This PR is part of rust-lang#44366 which is E-help-wanted.
  • Loading branch information
matthiaskrgr authored Aug 6, 2023
2 parents 1ea9951 + 2b9876b commit 44479d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/rustc_feature/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ impl UnstableFeatures {

fn find_lang_feature_issue(feature: Symbol) -> Option<NonZeroU32> {
if let Some(info) = ACTIVE_FEATURES.iter().find(|t| t.name == feature) {
// FIXME (#28244): enforce that active features have issue numbers
// assert!(info.issue.is_some())
info.issue
} else {
// search in Accepted, Removed, or Stable Removed features
Expand Down

0 comments on commit 44479d1

Please sign in to comment.