Skip to main content

humanize_or_debug

Function humanize_or_debug 

Source
fn humanize_or_debug(
    scx: &StatementContext<'_>,
    name: &ResolvedItemName,
) -> String
Expand description

Returns a human-readable rendering of name, falling back to a debug dump of the ResolvedItemName if humanization fails. Used to construct user-facing error messages on already-failing paths, where we’d rather surface the raw resolved name than emit a useless <unknown> placeholder.