mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
fix stray curly
This commit is contained in:
parent
a48964c64d
commit
a450142aca
13 changed files with 144 additions and 29 deletions
|
@ -127,12 +127,12 @@ fn validate_block_structure(root: SyntaxNodeRef) {
|
|||
assert_eq!(
|
||||
node.parent(),
|
||||
pair.parent(),
|
||||
"unpaired curleys:\n{}",
|
||||
"\nunpaired curleys:\n{}",
|
||||
utils::dump_tree(root),
|
||||
);
|
||||
assert!(
|
||||
node.next_sibling().is_none() && pair.prev_sibling().is_none(),
|
||||
"floating curlys at {:?}\nfile:\n{}\nerror:\n{}\n",
|
||||
"\nfloating curlys at {:?}\nfile:\n{}\nerror:\n{}\n",
|
||||
node,
|
||||
root.text(),
|
||||
node.text(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue