Skip to main content

const_int_from_debug

Function const_int_from_debug 

Source
pub fn const_int_from_debug(text: &str) -> Option<u64>
Expand description

Parse an integer from a MIR constant’s Debug text. Handles decimal, 0x hex, and Value(...) forms.