From 487134525e3a2130c82ba9ca9d721541a6ba5057 Mon Sep 17 00:00:00 2001 From: Jake Fecher Date: Mon, 16 Sep 2024 13:29:08 -0500 Subject: [PATCH] Use awful suggested formatting --- .../compile_success_empty/use_callers_scope/src/main.nr | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test_programs/compile_success_empty/use_callers_scope/src/main.nr b/test_programs/compile_success_empty/use_callers_scope/src/main.nr index 1f3d039a703..b4e8a7f7c4d 100644 --- a/test_programs/compile_success_empty/use_callers_scope/src/main.nr +++ b/test_programs/compile_success_empty/use_callers_scope/src/main.nr @@ -19,9 +19,11 @@ mod bar { // Ensure closures can still access Bar even // though `map` separates them from `fn_attr`. - let _ = &[1, 2, 3].map(|_| { + let _ = &[1, 2, 3].map( + |_| { quote { Bar }.as_type() - }); + } + ); } // use_callers_scope should also work nested