@@ -377,13 +377,6 @@ pub enum ErrKind {
377
377
NotOn ( ConstVal ) ,
378
378
CallOn ( ConstVal ) ,
379
379
380
- NegateWithOverflow ( i64 ) ,
381
- AddiWithOverflow ( i64 , i64 ) ,
382
- SubiWithOverflow ( i64 , i64 ) ,
383
- MuliWithOverflow ( i64 , i64 ) ,
384
- AdduWithOverflow ( u64 , u64 ) ,
385
- SubuWithOverflow ( u64 , u64 ) ,
386
- MuluWithOverflow ( u64 , u64 ) ,
387
380
DivideByZero ,
388
381
DivideWithOverflow ,
389
382
ModuloByZero ,
@@ -439,13 +432,6 @@ impl ConstEvalErr {
439
432
NotOn ( ref const_val) => format ! ( "not on {}" , const_val. description( ) ) . into_cow ( ) ,
440
433
CallOn ( ref const_val) => format ! ( "call on {}" , const_val. description( ) ) . into_cow ( ) ,
441
434
442
- NegateWithOverflow ( ..) => "attempted to negate with overflow" . into_cow ( ) ,
443
- AddiWithOverflow ( ..) => "attempted to add with overflow" . into_cow ( ) ,
444
- SubiWithOverflow ( ..) => "attempted to sub with overflow" . into_cow ( ) ,
445
- MuliWithOverflow ( ..) => "attempted to mul with overflow" . into_cow ( ) ,
446
- AdduWithOverflow ( ..) => "attempted to add with overflow" . into_cow ( ) ,
447
- SubuWithOverflow ( ..) => "attempted to sub with overflow" . into_cow ( ) ,
448
- MuluWithOverflow ( ..) => "attempted to mul with overflow" . into_cow ( ) ,
449
435
DivideByZero => "attempted to divide by zero" . into_cow ( ) ,
450
436
DivideWithOverflow => "attempted to divide with overflow" . into_cow ( ) ,
451
437
ModuloByZero => "attempted remainder with a divisor of zero" . into_cow ( ) ,
0 commit comments