Format type_\expression.rs
@@ -865,7 +865,7 @@ impl<'a, 'b> ExprTyper<'a, 'b> {
ValueConstructorVariant::LocalVariable { .. } => (),
ValueConstructorVariant::ModuleFn { .. }
| ValueConstructorVariant::Record { .. } => {
- return Err(Error::NonLocalClauseGuardVariable { location, name })
+ return Err(Error::NonLocalClauseGuardVariable { location, name });
}
ValueConstructorVariant::ModuleConstant { literal, .. } => {
@@ -1305,7 +1305,7 @@ impl<'a, 'b> ExprTyper<'a, 'b> {
constructor => {
return Err(Error::RecordUpdateInvalidConstructor {
location: constructor.location(),
- })
+ });
}
};
