pub fn parse_pending_patch(
body: &str,
) -> Result<(InlineLocation, String), Error>Expand description
Parses a pending-patch file body back into its parts: the source file, the call-site line and column, and the new snapshot value.
This is the inverse of record_pending_patch’s format, exposed for the
test-better-accept binary.
§Errors
Returns an std::io::Error with kind InvalidData if the body is not at
least two lines or the second line is not <line>:<column>.