Module naming

Source
Expand description

Stable naming helpers for MIR-based outputs. Stable naming helpers used by MIR browser graphs and backends.

Structs§

FunctionNames
Stable synthesized identifiers for locals in one MIR function.
ProgramNames
Stable synthesized identifiers for functions in a MIR program.

Functions§

mangle_canonical_ident
Mangle a canonical source-level identifier into a Rust-compatible name.
synthetic_temp_ident
Build a valid synthetic temporary identifier for generated Rust.