forge_fmt::helpers

Function parse2

Source
pub fn parse2<'s>(
    src: &'s str,
    path: Option<&Path>,
) -> Result<Parsed<'s>, FormatterError>
Expand description

Parse source code with a path for diagnostics.