aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/test
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-17 20:03:55 +0100
committerAleksey Kladov <[email protected]>2018-08-17 20:03:55 +0100
commitc7b1be6be345f97d6c4fd9ff3c51a94fb817fa56 (patch)
tree123b895ad8b2797b3b6ebcceebd36fb375ec7a38 /crates/libsyntax2/tests/test
parentd3c90ded2b9a4f75e101fa3abc60cd3aebc439c9 (diff)
Owned
Diffstat (limited to 'crates/libsyntax2/tests/test')
-rw-r--r--crates/libsyntax2/tests/test/main.rs2
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() {
21fn parser_tests() { 21fn 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