This commit is contained in:
Aleksey Kladov
2018-08-17 22:03:55 +03:00
parent d3c90ded2b
commit c7b1be6be3
4 changed files with 11 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ fn lexer_tests() {
fn parser_tests() {
dir_tests(&["parser/inline", "parser/ok", "parser/err"], |text| {
let file = libsyntax2::parse(text);
libsyntax2::utils::dump_tree(file.as_ref())
libsyntax2::utils::dump_tree(file.borrowed())
})
}