Function inner_print_compiler_errors

Source
pub fn inner_print_compiler_errors<T: ErrorTrait>(
    errors: &[T],
    info_file_path: &Path,
    source: &str,
)
Expand description

Print compiler errors. Diagnostics include text take from source. The file info_file_path is only used for printing error messages. In particular, it does not need to correspond to an existing file. In case info_file_path is indeed the source file, then source is read before calling this function.