Function rustc_middle::mir::to_profiler_name
source · fn to_profiler_name(type_name: &'static str) -> &'static strExpand description
Converts a MIR pass name into a snake case form to match the profiling naming style.
fn to_profiler_name(type_name: &'static str) -> &'static strConverts a MIR pass name into a snake case form to match the profiling naming style.