mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
completion: check stability
This commit is contained in:
parent
584d2697cc
commit
0ce71dd76f
6 changed files with 107 additions and 20 deletions
|
@ -269,6 +269,10 @@ impl Attrs {
|
|||
pub fn is_proc_macro_derive(&self) -> bool {
|
||||
self.by_key("proc_macro_derive").exists()
|
||||
}
|
||||
|
||||
pub fn is_unstable(&self) -> bool {
|
||||
self.by_key("unstable").exists()
|
||||
}
|
||||
}
|
||||
|
||||
use std::slice::Iter as SliceIter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue