parse: nix new_sub_parser_from_file
This commit is contained in:
parent
d18ed205c9
commit
eaa0ae503f
4 changed files with 10 additions and 16 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue