diff --git a/crates/noirc_errors/src/reporter.rs b/crates/noirc_errors/src/reporter.rs index f28e715d1ee..8f4cdd9b551 100644 --- a/crates/noirc_errors/src/reporter.rs +++ b/crates/noirc_errors/src/reporter.rs @@ -122,7 +122,7 @@ pub fn report_all( } impl FileDiagnostic { - fn report(&self, files: &fm::FileManager, deny_warnings: bool) -> bool { + pub fn report(&self, files: &fm::FileManager, deny_warnings: bool) -> bool { report(files, &self.diagnostic, Some(self.file_id), &self.call_stack, deny_warnings) } }