source_warn

Function source_warn 

Source
pub fn source_warn(
    context: &LightContext<'_>,
    warning: Warning,
    source: &dyn ToConsoleString,
    msg: &str,
    flags: Flags,
) -> Result<()>
Expand description

Like warn, but prints the warning prefixed with its source.