pub fn parse_file(path: &Path) -> Result<File, ParseError>
Parse a Rust source file
Returns ParseError::Io if the file cannot be read, or ParseError::Syntax if the file contains invalid Rust syntax.
ParseError::Io
ParseError::Syntax