mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:25:59 +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
|
name: (_) @name) @item
|
||||||
(impl_item
|
(impl_item
|
||||||
"impl" @context
|
"impl" @context
|
||||||
type: (_) @name) @item
|
trait: (_)? @name
|
||||||
(impl_item
|
"for"? @context
|
||||||
"impl" @context
|
|
||||||
trait: (_) @name
|
|
||||||
"for" @context
|
|
||||||
type: (_) @name) @item
|
type: (_) @name) @item
|
||||||
(function_item
|
(function_item
|
||||||
"fn" @context
|
"fn" @context
|
||||||
|
|
Loading…
Reference in a new issue