static A: i32 = 10;
static B: i32 = 10;
this codes has 2 static variables, then rustfmt --edition 2021 /tmp/ttt/aaa/src/lib.rs report
rewriting static
rewriting static
it looks like it reports rewriting static as many times as I have static variables
the rustfmt version is rustfmt 1.7.1-nightly (bcf94de 2024-06-23)
that didn't happen in previous version, such as rustfmt 1.7.0-nightly (c1b336c 2024-06-21)
also, use cargo fmt to format also has this problem
this codes has 2 static variables, then
rustfmt --edition 2021 /tmp/ttt/aaa/src/lib.rsreportit looks like it reports
rewriting staticas many times as I have static variablesthe rustfmt version is
rustfmt 1.7.1-nightly (bcf94de 2024-06-23)that didn't happen in previous version, such as
rustfmt 1.7.0-nightly (c1b336c 2024-06-21)also, use
cargo fmtto format also has this problem