Skip to main content

emit_bug_diagnostic

Function emit_bug_diagnostic 

Source
fn emit_bug_diagnostic(
    span: Option<Span>,
    args: Arguments<'_>,
    location: &'static Location<'static>,
) -> bool
Expand description

Returns true if it printed the diagnostic, which happens if a tcx is available.