Skip to main content

render_warning

Function render_warning 

Source
pub fn render_warning(warning: &Warning<'_>) -> String
Expand description

What a caller should print for one warning, without the renderer that colours it.

See crate::render_warnings for the entry point generated code reaches for; this is the wording both halves share.