diff --git a/third_party/move/move-compiler-v2/src/pipeline/unused_assignment_checker.rs b/third_party/move/move-compiler-v2/src/pipeline/unused_assignment_checker.rs index 4fb2586f7940b0..a57d95e68c13e1 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/unused_assignment_checker.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/unused_assignment_checker.rs @@ -38,12 +38,12 @@ impl UnusedAssignmentChecker { if !dst_name.starts_with('_') && live_after.get(&dst).is_none() { let loc = target.get_bytecode_loc(id); target - .global_env() - .diag( - Severity::Warning, - &loc, - &format!("Unused assignment to `{}`. Consider removing or prefixing with an underscore: `_{}`", dst_name, dst_name) - ); + .global_env() + .diag( + Severity::Warning, + &loc, + &format!("Unused assignment to `{}`. Consider removing or prefixing with an underscore: `_{}`", dst_name, dst_name) + ); } } }