mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Skip #[test_case] expansion
This commit is contained in:
parent
7692c82e0b
commit
3d6acb3d60
2 changed files with 5 additions and 2 deletions
|
@ -51,6 +51,9 @@ impl BuiltinAttrExpander {
|
|||
pub fn is_bench(self) -> bool {
|
||||
matches!(self, BuiltinAttrExpander::Bench)
|
||||
}
|
||||
pub fn is_test_case(self) -> bool {
|
||||
matches!(self, BuiltinAttrExpander::TestCase)
|
||||
}
|
||||
}
|
||||
|
||||
register_builtin! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue