about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-06-28 14:39:20 -0400
committerSmitty <me@smitop.com>2021-06-28 14:39:20 -0400
commit11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc (patch)
tree90c1545aedcc496d58758a57c49076d78f775414 /src/tools
parent1abb5bc992f0ab95ec507aa4b4feed12ec5a4450 (diff)
downloadrust-11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc.tar.gz
rust-11ebd80fe75ec02dbdd8058b8952d25eccb0c3dc.zip
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.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tidy/src/features.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs
index a7e700b935e..338dfd11310 100644
--- a/src/tools/tidy/src/features.rs
+++ b/src/tools/tidy/src/features.rs
@@ -301,6 +301,7 @@ fn collect_lang_features_in(base: &Path, file: &str, bad: &mut bool) -> Features
             let mut parts = line.split(',');
             let level = match parts.next().map(|l| l.trim().trim_start_matches('(')) {
                 Some("active") => Status::Unstable,
+                Some("incomplete") => Status::Unstable,
                 Some("removed") => Status::Removed,
                 Some("accepted") => Status::Stable,
                 _ => return None,