Fix incremental tests
This commit is contained in:
parent
f91d7baaa4
commit
f2fd00005e
1 changed files with 4 additions and 2 deletions
|
|
@ -647,10 +647,12 @@ impl<'a, 'tcx> CrateMetadata {
|
|||
|
||||
/// Iterates over all the stability attributes in the given crate.
|
||||
pub fn get_lib_features(&self) -> Vec<(ast::Name, Option<ast::Name>)> {
|
||||
self.root
|
||||
let mut features: Vec<_> = self.root
|
||||
.lib_features
|
||||
.decode(self)
|
||||
.collect()
|
||||
.collect();
|
||||
features.sort_unstable_by_key(|f| f.0.as_str());
|
||||
features
|
||||
}
|
||||
|
||||
/// Iterates over the language items in the given crate.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue