We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've noticed an issue where comments on imports end up on the wrong line after the imports are reordered:
Before hitting save:
After hitting save:
Notice the comment on the wrong line
rust-analyzer version: rust-analyzer version: 0add6e95e 2021-12-20 stable
rust-analyzer version: 0add6e95e 2021-12-20 stable
rustc version: rustc 1.57.0 (f1edd0429 2021-11-29)
rustc 1.57.0 (f1edd0429 2021-11-29)
The text was updated successfully, but these errors were encountered:
We merely invoke rustfmt on save, so this is a bug with rustfmt, not rust-analyzer.
rustfmt
Sorry, something went wrong.
I wasn't aware, thanks @Veykril.
For posterity, the relevant rustfmt issues are:
No branches or pull requests
I've noticed an issue where comments on imports end up on the wrong line after the imports are reordered:
Before hitting save:
After hitting save:
rust-analyzer version:
rust-analyzer version: 0add6e95e 2021-12-20 stable
rustc version:
rustc 1.57.0 (f1edd0429 2021-11-29)
The text was updated successfully, but these errors were encountered: