Function cargo::core::compiler::make_failed_scrape_diagnostic
source · fn make_failed_scrape_diagnostic(
cx: &Context<'_, '_>,
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.