slint_interpreter

Function print_diagnostics

Source
pub fn print_diagnostics(diagnostics: &[Diagnostic])
Available on crate feature display-diagnostics only.
Expand description

Print the diagnostics to stderr

The diagnostics are printed in the same style as rustc errors

This function is available when the display-diagnostics is enabled.