From 11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc Mon Sep 17 00:00:00 2001 From: Smitty Date: Mon, 28 Jun 2021 14:39:20 -0400 Subject: Make incomplete features part of delcaration This prevents mistakes where the feature is in the list of incomplete features but not actually a feature by making the incompleteness a part of the declaration. --- compiler/rustc_feature/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_feature/src/lib.rs') diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs index 654d2408580..cf102aa16e0 100644 --- a/compiler/rustc_feature/src/lib.rs +++ b/compiler/rustc_feature/src/lib.rs @@ -146,7 +146,7 @@ pub fn find_feature_issue(feature: Symbol, issue: GateIssue) -> Option