Skip to main content

throw_compiler_error

Function throw_compiler_error 

Source
pub fn throw_compiler_error<'a>(
    report: &dyn Fn() -> Report<'a, (&'a str, Range<usize>)>,
    sources: &'a [Source],
    file_idx: u16,
    span: Span,
    message: &str,
    code: &'static str,
) -> !