Skip to content

Commit

Permalink
Remove the compile-fail feature gates whitelist
Browse files Browse the repository at this point in the history
No longer necessary now that the whitelist is empty.

Fixes: #39059
  • Loading branch information
gibfahn committed Mar 5, 2017
1 parent cee4ef8 commit 7c88d9e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/tools/tidy/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7c88d9e

Please sign in to comment.