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
{{ message }}
Repository navigation
Use unstable rustfmt features to ensure import style #5065
OTOH to facilitate use in IDEs so that we can never worry about reorganizing imports, I'm discovering the feasibility of adding a recommended rust-analyzer config that looks like so:
OTOH to facilitate use in IDEs so that we can never worry about reorganizing imports, I'm discovering the feasibility of adding a recommended rust-analyzer config that looks like so:
Interesting, I cannot use that yet because rust-analyzer is calling rustfmt at the source file's basedir so .rustfmt.unstable-toml will be "not found":
Activity
rami3l commentedon Sep 9, 2026
Originally posted by @djc in #5064 (comment)
According to the docs:
So this looks like the semantics was about to change in rust-lang/rustfmt#4353 (comment) but the migration never landed.
OTOH to facilitate use in IDEs so that we can never worry about reorganizing imports, I'm discovering the feasibility of adding a recommended
rust-analyzerconfig that looks like so:rami3l commentedon Sep 9, 2026
Interesting, I cannot use that yet because
rust-analyzeris callingrustfmtat the source file's basedir so.rustfmt.unstable-tomlwill be "not found":--config-pathdoesn't recurse rustfmt#4660