crucible-mir
: Report line number when MIR Assert
fails
#1139
Labels
crucible-mir
: Report line number when MIR Assert
fails
#1139
When overflow checking is enabled (the default for debug builds), rustc emits MIR
TerminatorKind::Assert
to assert that overflow did not occur. Currently, our translation ofAssert
only reports the message from the MIR, which will be something generic like "attempted to add with overflow". It would be helpful to also provide the line number or other source information so the user can more easily identify which operation it was that overflowed.The text was updated successfully, but these errors were encountered: