Skip to main content

failure_sites_of

Function failure_sites_of 

Source
pub fn failure_sites_of(input: &str) -> Vec<FailureSite>
Expand description

Every Stmt::Site marker input parsed to, as the (span, component, action) FailureSite the marker’s id indexes — in the author’s own file coordinates, the implicit-## Main wrap and the stdlib-prelude splice already undone (matching lgx_findings_of/parse_error_of’s own treatment). The tree-walker’s current_site() and a compiled program’s site_at pc-lookup both answer an id into THIS SAME table; whoever renders a runtime failure looks it up here and calls FailureSite::render with the message.