fix: exhaustiveness on types from other modules

This commit is contained in:
rvcas
2023-07-31 13:59:30 -04:00
committed by Lucas
parent 7e531d0da1
commit a6b230aad4
4 changed files with 27 additions and 13 deletions

View File

@@ -176,7 +176,7 @@ fn expect_sugar_incorrect_type() {
"#;
assert!(matches!(
dbg!(check(parse(source_code))),
check(parse(source_code)),
Err((_, Error::CouldNotUnify { .. }))
))
}