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

x fmt doesn't format some code #5145

Closed
WaffleLapkin opened this issue Dec 21, 2021 · 1 comment
Closed

x fmt doesn't format some code #5145

WaffleLapkin opened this issue Dec 21, 2021 · 1 comment

Comments

@WaffleLapkin
Copy link
Member

While working on rustc I've noticed that x fmt doesn't format some obviously misformatted code.

Here is the code: rust-lang/rust#92164 (comment)

@calebcartwright
Copy link
Member

calebcartwright commented Dec 21, 2021

Duplicate of #3863, closing accordingly.

Try manually splitting the string lit so that it's actually possible to fit within the max_width boundary

"the `#[rustc_must_implement_one_of]` attribute must be used with at least 2 method names",

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