You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently cargo fmt (and cargo fmt --check) doesn't work on blocks' files because their mod <module> is defined inside of a macro. This is a known limitation of cargo fmt: rust-lang/rustfmt#4078
I guess the CI should run something like rustfmt --check --edition 2021 $(fd -e rs) instead of cargo fmt --check?
Apparently
cargo fmt
(andcargo fmt --check
) doesn't work on blocks' files because theirmod <module>
is defined inside of a macro. This is a known limitation ofcargo fmt
: rust-lang/rustfmt#4078I guess the CI should run something like
rustfmt --check --edition 2021 $(fd -e rs)
instead ofcargo fmt --check
?Originally posted by @MaxVerevkin in #1644 (comment)
The text was updated successfully, but these errors were encountered: