Remove the compile-fail feature gates whitelist

No longer necessary now that the whitelist is empty.

Fixes: https://github.com/rust-lang/rust/issues/39059
This commit is contained in:
Gibson Fahnestock 2017-03-05 20:26:23 +00:00
parent cee4ef8e7c
commit 7c88d9e86e
No known key found for this signature in database
GPG Key ID: B01FBB92821C587A

View File

@ -165,16 +165,11 @@ pub fn check(path: &Path, bad: &mut bool) {
}
});
// FIXME get this whitelist empty.
let whitelist = vec![
];
// Only check the number of lang features.
// Obligatory testing for library features is dumb.
let gate_untested = features.iter()
.filter(|&(_, f)| f.level == Status::Unstable)
.filter(|&(_, f)| !f.has_gate_test)
.filter(|&(n, _)| !whitelist.contains(&n.as_str()))
.collect::<Vec<_>>();
for &(name, _) in gate_untested.iter() {