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:
parent
cee4ef8e7c
commit
7c88d9e86e
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user