diff options
author | Aleksey Kladov <[email protected]> | 2019-07-20 10:48:24 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-20 10:48:24 +0100 |
commit | 6d5d82e412dea19ea48eecc6f7d5a4aa223a9599 (patch) | |
tree | ddc74569a2ed64c9ad7fb451b2f83e3a53f56dfe /crates/ra_syntax/src/validation.rs | |
parent | e18f8495d6569f4fc0b7457b65a1d199cf7b5974 (diff) |
move debug_dump to fmt::Debug
Diffstat (limited to 'crates/ra_syntax/src/validation.rs')
-rw-r--r-- | crates/ra_syntax/src/validation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/validation.rs b/crates/ra_syntax/src/validation.rs index 7140d10c3..943f88de9 100644 --- a/crates/ra_syntax/src/validation.rs +++ b/crates/ra_syntax/src/validation.rs | |||
@@ -89,9 +89,9 @@ pub(crate) fn validate_block_structure(root: &SyntaxNode) { | |||
89 | assert_eq!( | 89 | assert_eq!( |
90 | node.parent(), | 90 | node.parent(), |
91 | pair.parent(), | 91 | pair.parent(), |
92 | "\nunpaired curleys:\n{}\n{}\n", | 92 | "\nunpaired curleys:\n{}\n{:#?}\n", |
93 | root.text(), | 93 | root.text(), |
94 | root.debug_dump(), | 94 | root, |
95 | ); | 95 | ); |
96 | assert!( | 96 | assert!( |
97 | node.next_sibling().is_none() && pair.prev_sibling().is_none(), | 97 | node.next_sibling().is_none() && pair.prev_sibling().is_none(), |