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/fuzz.rs | |
parent | e18f8495d6569f4fc0b7457b65a1d199cf7b5974 (diff) |
move debug_dump to fmt::Debug
Diffstat (limited to 'crates/ra_syntax/src/fuzz.rs')
-rw-r--r-- | crates/ra_syntax/src/fuzz.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/fuzz.rs b/crates/ra_syntax/src/fuzz.rs index 716925b2f..a9146c4f8 100644 --- a/crates/ra_syntax/src/fuzz.rs +++ b/crates/ra_syntax/src/fuzz.rs | |||
@@ -52,9 +52,9 @@ impl CheckReparse { | |||
52 | new_parse.tree().syntax().descendants().zip(full_reparse.tree().syntax().descendants()) | 52 | new_parse.tree().syntax().descendants().zip(full_reparse.tree().syntax().descendants()) |
53 | { | 53 | { |
54 | if (a.kind(), a.range()) != (b.kind(), b.range()) { | 54 | if (a.kind(), a.range()) != (b.kind(), b.range()) { |
55 | eprint!("original:\n{}", parse.tree().syntax().debug_dump()); | 55 | eprint!("original:\n{:#?}", parse.tree().syntax()); |
56 | eprint!("reparsed:\n{}", new_parse.tree().syntax().debug_dump()); | 56 | eprint!("reparsed:\n{:#?}", new_parse.tree().syntax()); |
57 | eprint!("full reparse:\n{}", full_reparse.tree().syntax().debug_dump()); | 57 | eprint!("full reparse:\n{:#?}", full_reparse.tree().syntax()); |
58 | assert_eq!( | 58 | assert_eq!( |
59 | format!("{:?}", a), | 59 | format!("{:?}", a), |
60 | format!("{:?}", b), | 60 | format!("{:?}", b), |