format_push_string
doesn't trigger "indirectly"
#9493
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Summary
My
xorsum
crate has a fn to convert a byte-vector to its hex-encoded form, it repeatedly callsformat!
appending its result to aString
, but Clippy didn't show a warningLint Name
format_push_string
Reproducer
I tried this code:
I expected to see this happen: Warning
Instead, this happened: Nothing
Version
The text was updated successfully, but these errors were encountered: