diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-21 13:13:45 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-21 13:13:45 +0000 |
commit | 5cacdfcb3c666161dc41f59228eaaca5cfe8fc27 (patch) | |
tree | 33fc9206a9ee2f2f1c64eeb85748bf5e9cd1c3f8 /crates/ra_syntax/src/parsing | |
parent | 9be7426aae359d49ef272db74528a706e7f738a0 (diff) | |
parent | 7060a39d5c8dc2c72fe207536fee649ff615860f (diff) |
Merge #872
872: simplify trait bounds r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/parsing')
-rw-r--r-- | crates/ra_syntax/src/parsing/reparsing.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/parsing/reparsing.rs b/crates/ra_syntax/src/parsing/reparsing.rs index 6957c26c0..19d8adcfb 100644 --- a/crates/ra_syntax/src/parsing/reparsing.rs +++ b/crates/ra_syntax/src/parsing/reparsing.rs | |||
@@ -143,7 +143,7 @@ fn merge_errors( | |||
143 | mod tests { | 143 | mod tests { |
144 | use test_utils::{extract_range, assert_eq_text}; | 144 | use test_utils::{extract_range, assert_eq_text}; |
145 | 145 | ||
146 | use crate::{SourceFile, AstNode, utils::dump_tree}; | 146 | use crate::{SourceFile, AstNode}; |
147 | use super::*; | 147 | use super::*; |
148 | 148 | ||
149 | fn do_check<F>(before: &str, replace_with: &str, reparser: F) | 149 | fn do_check<F>(before: &str, replace_with: &str, reparser: F) |
@@ -169,8 +169,8 @@ mod tests { | |||
169 | }; | 169 | }; |
170 | 170 | ||
171 | assert_eq_text!( | 171 | assert_eq_text!( |
172 | &dump_tree(fully_reparsed.syntax()), | 172 | &fully_reparsed.syntax().debug_dump(), |
173 | &dump_tree(incrementally_reparsed.syntax()), | 173 | &incrementally_reparsed.syntax().debug_dump(), |
174 | ) | 174 | ) |
175 | } | 175 | } |
176 | 176 | ||