mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 10:59:53 +00:00
Avoid matching duplicate impl
outline items in tests
This commit is contained in:
parent
9df2dacd85
commit
a86118cfe2
1 changed files with 2 additions and 5 deletions
|
@ -961,11 +961,8 @@ fn rust_lang() -> Language {
|
|||
name: (_) @name) @item
|
||||
(impl_item
|
||||
"impl" @context
|
||||
type: (_) @name) @item
|
||||
(impl_item
|
||||
"impl" @context
|
||||
trait: (_) @name
|
||||
"for" @context
|
||||
trait: (_)? @name
|
||||
"for"? @context
|
||||
type: (_) @name) @item
|
||||
(function_item
|
||||
"fn" @context
|
||||
|
|
Loading…
Reference in a new issue