diff --git a/.github/critical_libraries_status/noir-lang/noir-edwards/.failures.jsonl b/.github/critical_libraries_status/noir-lang/noir-edwards/.failures.jsonl.does_not_compile similarity index 100% rename from .github/critical_libraries_status/noir-lang/noir-edwards/.failures.jsonl rename to .github/critical_libraries_status/noir-lang/noir-edwards/.failures.jsonl.does_not_compile diff --git a/.github/critical_libraries_status/noir-lang/noir_json_parser/.failures.jsonl b/.github/critical_libraries_status/noir-lang/noir_json_parser/.failures.jsonl.does_not_compile similarity index 100% rename from .github/critical_libraries_status/noir-lang/noir_json_parser/.failures.jsonl rename to .github/critical_libraries_status/noir-lang/noir_json_parser/.failures.jsonl.does_not_compile diff --git a/.github/critical_libraries_status/noir-lang/noir_sort/.failures.jsonl b/.github/critical_libraries_status/noir-lang/noir_sort/.failures.jsonl.does_not_compile similarity index 100% rename from .github/critical_libraries_status/noir-lang/noir_sort/.failures.jsonl rename to .github/critical_libraries_status/noir-lang/noir_sort/.failures.jsonl.does_not_compile diff --git a/compiler/noirc_frontend/src/hir/type_check/errors.rs b/compiler/noirc_frontend/src/hir/type_check/errors.rs index 16422e0ef8b..d29e1aa4339 100644 --- a/compiler/noirc_frontend/src/hir/type_check/errors.rs +++ b/compiler/noirc_frontend/src/hir/type_check/errors.rs @@ -496,10 +496,10 @@ impl<'a> From<&'a TypeCheckError> for Diagnostic { Diagnostic::simple_error(msg.to_string(), "".to_string(), *span) }, TypeCheckError::Unsafe { span } => { - Diagnostic::simple_warning(error.to_string(), String::new(), *span) + Diagnostic::simple_error(error.to_string(), String::new(), *span) } TypeCheckError::UnsafeFn { span } => { - Diagnostic::simple_warning(error.to_string(), String::new(), *span) + Diagnostic::simple_error(error.to_string(), String::new(), *span) } TypeCheckError::UnspecifiedType { span } => { Diagnostic::simple_error(error.to_string(), String::new(), *span)