File tree 1 file changed +0
-12
lines changed 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -380,12 +380,6 @@ pub enum ErrKind {
380
380
NotOn ( ConstVal ) ,
381
381
CallOn ( ConstVal ) ,
382
382
383
- DivideByZero ,
384
- DivideWithOverflow ,
385
- ModuloByZero ,
386
- ModuloWithOverflow ,
387
- ShiftLeftWithOverflow ,
388
- ShiftRightWithOverflow ,
389
383
MissingStructField ,
390
384
NonConstPath ,
391
385
UnimplementedConstVal ( & ' static str ) ,
@@ -436,12 +430,6 @@ impl ConstEvalErr {
436
430
NotOn ( ref const_val) => format ! ( "not on {}" , const_val. description( ) ) . into_cow ( ) ,
437
431
CallOn ( ref const_val) => format ! ( "call on {}" , const_val. description( ) ) . into_cow ( ) ,
438
432
439
- DivideByZero => "attempted to divide by zero" . into_cow ( ) ,
440
- DivideWithOverflow => "attempted to divide with overflow" . into_cow ( ) ,
441
- ModuloByZero => "attempted remainder with a divisor of zero" . into_cow ( ) ,
442
- ModuloWithOverflow => "attempted remainder with overflow" . into_cow ( ) ,
443
- ShiftLeftWithOverflow => "attempted left shift with overflow" . into_cow ( ) ,
444
- ShiftRightWithOverflow => "attempted right shift with overflow" . into_cow ( ) ,
445
433
MissingStructField => "nonexistent struct field" . into_cow ( ) ,
446
434
NonConstPath => "non-constant path in constant expression" . into_cow ( ) ,
447
435
UnimplementedConstVal ( what) =>
You can’t perform that action at this time.
0 commit comments