Fix new dogfood issue

This commit is contained in:
Guillaume Gomez 2024-01-06 17:16:34 +01:00
parent 6410606815
commit af35d37749

View file

@ -420,7 +420,7 @@ pub fn find_format_args(cx: &LateContext<'_>, start: &Expr<'_>, expn_id: ExpnId)
ast_format_args ast_format_args
.get()? .get()?
.get(&format_args_expr.span.with_parent(None)) .get(&format_args_expr.span.with_parent(None))
.map(Rc::clone) .cloned()
}) })
} }