about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-07 00:06:07 +0200
committerGitHub <noreply@github.com>2023-08-07 00:06:07 +0200
commit44479d1b35d2a518b7336230b214300cb781331b (patch)
treed68271d2ff545ad44f27d3e9deafe4472c698c17 /compiler
parent1ea9951b435c23399008e47a75215dc4931d09ad (diff)
parent2b9876bd6da460b4748627567c9cd1dfb1f97030 (diff)
downloadrust-44479d1b35d2a518b7336230b214300cb781331b.tar.gz
rust-44479d1b35d2a518b7336230b214300cb781331b.zip
Rollup merge of #114556 - Enselic:issue-numbers-enforced, r=compiler-errors
Issue numbers are enforced on active features; remove FIXME

Since https://github.com/rust-lang/rust/pull/51090 tidy enforces that active features have an issue number, so remove the FIXME.

This PR is part of #44366 which is E-help-wanted.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_feature/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs
index beb6307846d..69e33115922 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -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