diff options
Diffstat (limited to 'crates/libsyntax2/tests')
-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 802dba0e9..d35935c64 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) | 24 | libsyntax2::utils::dump_tree(file.as_ref()) |
25 | }) | 25 | }) |
26 | } | 26 | } |
27 | 27 | ||