mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Remove Delimiter::DUMMY_INVISIBLE
This commit is contained in:
parent
2c6ce480e3
commit
7b804552a5
20 changed files with 170 additions and 106 deletions
|
@ -67,8 +67,11 @@ fn macro_rules_fixtures_tt() -> FxHashMap<String, tt::Subtree<DummyTestSpanData>
|
|||
.filter_map(ast::MacroRules::cast)
|
||||
.map(|rule| {
|
||||
let id = rule.name().unwrap().to_string();
|
||||
let def_tt =
|
||||
syntax_node_to_token_tree(rule.token_tree().unwrap().syntax(), DummyTestSpanMap);
|
||||
let def_tt = syntax_node_to_token_tree(
|
||||
rule.token_tree().unwrap().syntax(),
|
||||
DummyTestSpanMap,
|
||||
DUMMY,
|
||||
);
|
||||
(id, def_tt)
|
||||
})
|
||||
.collect()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue