parse: nix new_sub_parser_from_file

This commit is contained in:
Mazdak Farrokhzad 2020-03-21 23:10:10 +01:00
parent d18ed205c9
commit eaa0ae503f
4 changed files with 10 additions and 16 deletions

View file

@ -28,6 +28,6 @@ fn parse() {
let path = Path::new(file!());
let path = path.canonicalize().unwrap();
let mut parser = new_parser_from_file(&parse_session, &path);
let mut parser = new_parser_from_file(&parse_session, &path, None);
let _ = parser.parse_crate_mod();
}