mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Fix incremental tests
This commit is contained in:
@@ -647,10 +647,12 @@ pub fn get_impl_trait(&self,
|
||||
|
||||
/// 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.
|
||||
|
||||
Reference in New Issue
Block a user