Skip to main content

summarize_source

Function summarize_source 

Source
pub fn summarize_source(path: impl AsRef<Path>, source: &str) -> SourceSummary
Expand description

Produce a first-pass source summary.

This function is intentionally lightweight. It is not a parser. Its job is to establish the compiler habit of preserving source positions and explaining what the tool thinks it found.