-
Notifications
You must be signed in to change notification settings - Fork 430
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
rustfmt
wanted features & bugfixes
#398
Comments
Which unstable rustfmt features are actually used that necessitate |
|
That one sounds useful. https://github.com/rust-lang/rustfmt/issues?q=format_code_in_doc_comments+is%3Aopen lists a couple of issues with it. Once those are fixed it would make sense to push for stabilization IMHO. |
Indeed! We also have a few others in the |
|
Thanks Trevor! I agree, that one would be useful -- added above. |
Features that we would like to see
Required (we almost certainly want them)
Nice to have (not critical, we could workaround if needed, etc.)
Support
RUSTC_BOOTSTRAP
.RUSTC_BOOTSTRAP
rust-lang/rustfmt#4884.Stabilize
format_code_in_doc_comments
.doc_comment_code_block_width
.Stabilize
reorder_impl_items
.Stabilize
wrap_comments
.wrap_doc_comments
.Stabilize
comment_width
.Stabilize
normalize_comments
.Stabilize
hex_literal_case
.hex_literal_case
rust-lang/rustfmt#5081.Low priority (we will likely not use them in the end)
Done (stabilized, fixed, not needed anymore, etc.)
Bugs that we would like to see fixed
Required (we almost certainly want them)
Nice to have (probably not critical, we could workaround if needed, etc.)
Low priority (we will likely not use them in the end)
Done (stabilized, fixed, or not needed anymore, etc.)
#[no_mangle]
functions should not haveextern "Rust"
removed.extern "Rust"
from functions rust-lang/rustfmt#5701.rustfmt
ICEs (apparently on purpose) on certain expanded-Zunpretty=expanded
(i.e..rsi
) constructs (e.g.offset_of!
).rustfmt
wants us to report the ICEs and they are also happy to use small snippets like the one we reported as test cases.rustfmt
ICE with expanded code rust-lang/rustfmt#6105.const
): ICE: unreachablesrc/tools/rustfmt/src/expr.rs:407:13
rust-lang/rustfmt#5885.The text was updated successfully, but these errors were encountered: