pub fn sanitize_debug_name(
    func: impl Fn(&mut Formatter<'_>) -> Option<Result>
) -> String
Expand description

Processes a name given by an Interner debug method into something usable by the display module.

This is specifically useful when implementing RustIrDatabase name_* methods.