Function necessist_core::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.