From 1e2a7f222d7c3605e82a017d70dd2f2d12ee37bd Mon Sep 17 00:00:00 2001 From: d0cd Date: Sat, 12 Nov 2022 09:58:52 -0800 Subject: [PATCH] Fmt --- compiler/passes/src/type_checking/check_program.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/passes/src/type_checking/check_program.rs b/compiler/passes/src/type_checking/check_program.rs index ddf4f1a645..f28dfdc525 100644 --- a/compiler/passes/src/type_checking/check_program.rs +++ b/compiler/passes/src/type_checking/check_program.rs @@ -254,7 +254,9 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { // Check that the mode of the output is valid. if output_type.mode() == Mode::Const || output_type.mode() == Mode::Private { - self.emit_err(TypeCheckerError::finalize_output_mode_must_be_public(output_type.span())); + self.emit_err(TypeCheckerError::finalize_output_mode_must_be_public( + output_type.span(), + )); } });