diff --git a/compiler/parser/src/parser/statement.rs b/compiler/parser/src/parser/statement.rs index 01cc392f57..d983fb8fb3 100644 --- a/compiler/parser/src/parser/statement.rs +++ b/compiler/parser/src/parser/statement.rs @@ -207,8 +207,13 @@ impl ParserContext<'_> { &["assert", "assert_eq", "assert_neq"], identifier.span, )); - (Default::default(), ConsoleFunction::Assert(Expression::Err(ErrExpression { span: Default::default() }))) - }, + ( + Default::default(), + ConsoleFunction::Assert(Expression::Err(ErrExpression { + span: Default::default(), + })), + ) + } }; self.expect(&Token::Semicolon)?;