MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / fmt

Method fmt

src/oomir/interpret.rs:20–28  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

18 InterpretError::UnsupportedOperation => write!(f, "UnsupportedOperation"),
19 InterpretError::DivisionByZero => write!(f, "DivisionByZero"),
20 }
21 }
22}
23
24impl From<ParseBigIntError> for InterpretError {
25 fn from(e: ParseBigIntError) -> Self {
26 InterpretError::ParseBigInt(e)
27 }
28}
29
30fn parse_constant_to_bigint(c: &Constant) -> Result<BigInt, InterpretError> {
31 match c {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected