diff options
Diffstat (limited to 'crates/libsyntax2/tests/test')
-rw-r--r-- | crates/libsyntax2/tests/test/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/libsyntax2/tests/test/main.rs index d35935c64..7e5dc32d9 100644 --- a/crates/libsyntax2/tests/test/main.rs +++ b/crates/libsyntax2/tests/test/main.rs | |||
@@ -21,7 +21,7 @@ fn lexer_tests() { | |||
21 | fn parser_tests() { | 21 | fn parser_tests() { |
22 | dir_tests(&["parser/inline", "parser/ok", "parser/err"], |text| { | 22 | dir_tests(&["parser/inline", "parser/ok", "parser/err"], |text| { |
23 | let file = libsyntax2::parse(text); | 23 | let file = libsyntax2::parse(text); |
24 | libsyntax2::utils::dump_tree(file.as_ref()) | 24 | libsyntax2::utils::dump_tree(file.borrowed()) |
25 | }) | 25 | }) |
26 | } | 26 | } |
27 | 27 | ||