mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-21 04:06:42 +01:00
add include support
This commit is contained in:
@@ -357,7 +357,7 @@ fn type_mismatch(
|
||||
Err(())
|
||||
}
|
||||
|
||||
fn report_error(msg: &str, span: &Span, sources: &Sources) -> Result<()> {
|
||||
pub fn report_error(msg: &str, span: &Span, sources: &Sources) -> Result<()> {
|
||||
Report::build(ReportKind::Error, span.0, span.1.start)
|
||||
.with_message(msg)
|
||||
.with_label(
|
||||
|
||||
Reference in New Issue
Block a user