Account for format_args in HiddenUnicodeCodepoints lint

This commit is contained in:
Michael Goulet
2024-12-31 05:03:22 +00:00
parent c6afe82b8a
commit ea291e5b5f
9 changed files with 82 additions and 34 deletions

View File

@@ -531,6 +531,7 @@ fn expand_preparsed_asm(
symbol: template_str,
style: template_style,
span: template_span,
..
} = {
let ExpandResult::Ready(mac) = expr_to_spanned_string(ecx, template_expr, msg) else {
return ExpandResult::Retry(());