We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64b585a + b8dc376 commit 6e50331Copy full SHA for 6e50331
tooling/ast_fuzzer/src/compare/interpreted.rs
@@ -223,6 +223,10 @@ impl Comparable for ssa::interpreter::errors::InterpreterError {
223
(DivisionByZero { .. }, ConstrainEqFailed { msg, .. }) => {
224
msg.as_ref().is_some_and(|msg| msg == "attempt to divide by zero")
225
}
226
+ (PoppedFromEmptySlice { .. }, ConstrainEqFailed { msg, .. }) => {
227
+ // The removal of unreachable instructions can replace popping from an empty slice with an always-fail constraint.
228
+ msg.as_ref().is_some_and(|msg| msg == "Index out of bounds")
229
+ }
230
(e1, e2) => {
231
// The format strings contain SSA instructions,
232
// where the only difference might be the value ID.
0 commit comments