Skip to content
New issue

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

rust fmt fails to format specific files. #5688

Closed
dogunbound opened this issue Feb 9, 2023 · 2 comments
Closed

rust fmt fails to format specific files. #5688

dogunbound opened this issue Feb 9, 2023 · 2 comments

Comments

@dogunbound
Copy link

dogunbound commented Feb 9, 2023

2023-02-08.22-12-22.mp4

here is the repo:
https://github.com/dogunbound/PACRB

make sure you are on commit as this a rapidly changing repository: 0c5c7ec8717a930b5c0e021bedd0898f023d3f26

the problem files are src/hsv_selector/hsv_selector_content.rs and src/config_selector/config_selector.rs

If you put random whitespace in either of those files and try formatting or calling cargo fmt, cargo fmt will fail to run.

@ytmimi
Copy link
Contributor

ytmimi commented Feb 9, 2023

@dogunbound thanks for reaching out and including the video. Currently rustfmt doens't support formatting let-else statements, but it's actively being worked on! If you'd like you can follow the issue for let-else #4914

@ytmimi ytmimi closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2023
@dogunbound
Copy link
Author

@ytmimi

Thanks for letting me know. Hope progress continues smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants