suggested changes should not expand format!
to $crate::fmt::format($crate::__export::format_args!
#6838
Labels
C-bug
Category: Clippy is not doing the correct thing
Code in question:
I expected the suggested change to keep
format!
the same and to not expand it to$crate::fmt::format($crate::__export::format_args!
.Meta
This happens with
rustc
as of6f7673d077add6b9a066e988b1b8b132a8193d6c
. (Dumping the version would not be helpful since the copy of rustc in question contains a local reversion from tracking down an unrelated ICE that I had encountered, just documenting this issue as I saw it).The text was updated successfully, but these errors were encountered: