mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Add run-tests command
This commit is contained in:
parent
f0e00ed599
commit
674cd5ab57
8 changed files with 166 additions and 36 deletions
|
@ -272,6 +272,18 @@ impl Attrs {
|
|||
self.by_key("proc_macro_derive").exists()
|
||||
}
|
||||
|
||||
pub fn is_test(&self) -> bool {
|
||||
self.by_key("test").exists()
|
||||
}
|
||||
|
||||
pub fn is_ignore(&self) -> bool {
|
||||
self.by_key("ignore").exists()
|
||||
}
|
||||
|
||||
pub fn is_bench(&self) -> bool {
|
||||
self.by_key("bench").exists()
|
||||
}
|
||||
|
||||
pub fn is_unstable(&self) -> bool {
|
||||
self.by_key("unstable").exists()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue