Skip to content

Commit

Permalink
tab to space
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekun Wang committed Jun 24, 2024
1 parent 30ed173 commit dda8e07
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
}
}
Expand Down

0 comments on commit dda8e07

Please sign in to comment.