mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Use debug_assert_eq! instead of debug_assert!
This commit is contained in:
parent
e88c6ea17b
commit
e2b6d93096
1 changed files with 2 additions and 2 deletions
|
@ -645,8 +645,8 @@ pub fn build(
|
|||
roc_run(&arena, opt_level, triple, args, bytes, expect_metadata)
|
||||
}
|
||||
BuildAndRunIfNoErrors => {
|
||||
debug_assert!(
|
||||
problems.errors == 0,
|
||||
debug_assert_eq!(
|
||||
problems.errors, 0,
|
||||
"if there are errors, they should have been returned as an error variant"
|
||||
);
|
||||
if problems.warnings > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue