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

fails to format commented code: {…} #3018

Closed
matthiaskrgr opened this issue Sep 12, 2018 · 1 comment
Closed

fails to format commented code: {…} #3018

matthiaskrgr opened this issue Sep 12, 2018 · 1 comment
Labels
bug Panic, non-idempotency, invalid code, etc. only-with-option requires a non-default option value to reproduce

Comments

@matthiaskrgr
Copy link
Member

/// ```
///  { … }
/// ```
fn main() {
  }

rustfmt silently bails out on this code which can be found in the clippy_lints package.

This silent bailout caused my to find #3008 and prevents all further formatting by cargo fmt on the clippy_lints crate.

@topecongiro topecongiro added bug Panic, non-idempotency, invalid code, etc. only-with-option requires a non-default option value to reproduce labels Sep 18, 2018
@otavio
Copy link
Contributor

otavio commented Oct 9, 2018

This has been fixed by #3058. I think this could be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Panic, non-idempotency, invalid code, etc. only-with-option requires a non-default option value to reproduce
Projects
None yet
Development

No branches or pull requests

4 participants