You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect a rule along the lines "If the first error line ends with :, everything up to error code is part of the message" would cover it.
But it's just for this case, there are probably other multiline messages thatw e fail on. We really should comb libsyntax sources for all the [EXXX] messages, convert them to tests and start reworking output parsing from there.
We should probably be using the JSON error format, which has recently landed: rust-lang/rust#30711 (requires invoking a recent rustc with -Z unstable-options --error-format=json)
While testing #112 I found at least one case, where the current RegEx for error messages does not work correctly. Given this rustc output
the RegEx will only extract the first line and discard the additional information, resulting in the error message
mismatched types:
I'm not sure how this should be fixed.
The text was updated successfully, but these errors were encountered: