diff options
Diffstat (limited to 'src/librustc_const_math/err.rs')
| -rw-r--r-- | src/librustc_const_math/err.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_const_math/err.rs b/src/librustc_const_math/err.rs index dee8813e86f..5d442ee7b97 100644 --- a/src/librustc_const_math/err.rs +++ b/src/librustc_const_math/err.rs @@ -10,7 +10,6 @@ #[derive(Debug, PartialEq, Eq, Clone, RustcEncodable, RustcDecodable)] pub enum ConstMathErr { - CmpBetweenUnequalTypes, UnequalTypes(Op), Overflow(Op), DivisionByZero, @@ -37,7 +36,6 @@ impl ConstMathErr { pub fn description(&self) -> &'static str { use self::Op::*; match *self { - CmpBetweenUnequalTypes => "compared two values of different types", UnequalTypes(Add) => "tried to add two values of different types", UnequalTypes(Sub) => "tried to subtract two values of different types", UnequalTypes(Mul) => "tried to multiply two values of different types", |
