Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
GearsDatapacks committed Nov 23, 2024
1 parent d531e58 commit 1179ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-core/src/type_/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ impl<'a, 'b> ExprTyper<'a, 'b> {

// Do not perform exhaustiveness checking if user explicitly used `let assert ... = ...`.
let exhaustiveness_check = self.check_let_exhaustiveness(location, value.type_(), &pattern);
match (kind, exhaustiveness_check) {
match (&kind, exhaustiveness_check) {
(AssignmentKind::Let | AssignmentKind::Generated, Ok(_)) => {}
(AssignmentKind::Let | AssignmentKind::Generated, Err(e)) => {
self.problems.error(e);
Expand Down

0 comments on commit 1179ab0

Please sign in to comment.