mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Update tests
This commit is contained in:
parent
2984da672e
commit
081f35fe1b
33 changed files with 40 additions and 40 deletions
|
@ -149,12 +149,12 @@ pub(crate) fn reparser(
|
|||
USE_TREE_LIST => items::use_tree_list,
|
||||
EXTERN_ITEM_LIST => items::extern_item_list,
|
||||
TOKEN_TREE if first_child? == T!['{'] => items::token_tree,
|
||||
ITEM_LIST => match parent? {
|
||||
ASSOC_ITEM_LIST => match parent? {
|
||||
IMPL_DEF => items::impl_item_list,
|
||||
TRAIT_DEF => items::trait_item_list,
|
||||
MODULE => items::mod_item_list,
|
||||
_ => return None,
|
||||
},
|
||||
ITEM_LIST => items::mod_item_list,
|
||||
_ => return None,
|
||||
};
|
||||
Some(res)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue