cargo::core::compiler

Function make_failed_scrape_diagnostic

Source
fn make_failed_scrape_diagnostic(
    build_runner: &BuildRunner<'_, '_>,
    unit: &Unit,
    top_line: impl Display,
) -> String
Expand description

Generates the warning message used when fallible doc-scrape units fail, either for rustdoc or rustc.