pub fn parsed_file_from_proto(
file: ParsedFile,
) -> Result<ParsedFile, ConversionError>Expand description
A parsed file from its protocol form (without its warnings, which the protocol doesn’t carry).
§Errors
Returns ConversionError::InvalidDagJson for a DAG that doesn’t parse as DAG JSON (the
master’s validation then reports the problems of DAGs that do).