Skip to main content

report_view

Function report_view 

Source
pub fn report_view<'a>(
    spec: &'a Spec<'a>,
    argv: &[&OsStr],
    error: &Error<'_, '_>,
    view: &'a ViewMeta<'a>,
) -> Report
Expand description

Describe a parse outcome through a spec-declared executable view.

argv is the original full argv, including the view executable as argv0. Locations address that original slice; synthetic words from the view’s canonical root are never exposed.