From b1a2b37ccd10d17d974b9fa1b6c8317abc48266b Mon Sep 17 00:00:00 2001 From: Jake Fecher Date: Tue, 15 Aug 2023 14:44:24 -0500 Subject: [PATCH] Fix compilation error --- crates/noirc_errors/src/reporter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }