Searched refs:arithmetic_overflow (Results 1 – 7 of 7) sorted by relevance
195 fn arithmetic_overflow(what: &'static str) -> DeserializeError { in arithmetic_overflow() method808 None => Err(DeserializeError::arithmetic_overflow(what)), in mul()823 None => Err(DeserializeError::arithmetic_overflow(what)), in add()837 .map_err(|_| DeserializeError::arithmetic_overflow(what))?; in shl()840 None => Err(DeserializeError::arithmetic_overflow(what)), in shl()
223 #[allow(arithmetic_overflow)]236 #[allow(arithmetic_overflow)]
244 #[allow(arithmetic_overflow)] // https://github.com/rust-lang/rust/issues/109731