GitHub / rust-lang/rustfmt issues and pull requests
#5762 - File-lines seems to require stdin
Issue -
State: closed - Opened by barafael about 2 years ago
- 2 comments
#5761 - support aarch64 for linux and macos
Pull Request -
State: open - Opened by joske about 2 years ago
#5760 - rustfmt gets upset when trying to format a let-else block inside a macro.
Issue -
State: closed - Opened by vincenzopalazzo about 2 years ago
- 1 comment
#5759 - Remove repeated definite articles
Pull Request -
State: open - Opened by cuishuang about 2 years ago
#5758 - request supporting `let pattern = expr else { stats };` syntax
Issue -
State: closed - Opened by Fancyflame about 2 years ago
- 1 comment
#5757 - Add a friend for lonely backtick
Pull Request -
State: closed - Opened by lukas-code over 2 years ago
#5756 - Add release notes for merged PRs with `release-notes` label
Pull Request -
State: open - Opened by ytmimi over 2 years ago
Labels: pr-not-reviewed
#5755 - doc: update instructions for installing from source
Pull Request -
State: open - Opened by xxchan over 2 years ago
Labels: pr-not-reviewed
#5754 - Strange Line Break in variable declaration
Issue -
State: closed - Opened by REN-aissance over 2 years ago
- 1 comment
#5753 - Spelling
Pull Request -
State: closed - Opened by jsoref over 2 years ago
- 6 comments
#5752 - RustFmt takes entire ram when formatting simple(broken) file
Issue -
State: open - Opened by qarmin over 2 years ago
- 4 comments
#5751 - Associated types implementation with where clause are not formatted
Issue -
State: closed - Opened by ia0 over 2 years ago
- 4 comments
Labels: blocked
#5750 - Rustfmt doesn't respond to imperfect commands?
Issue -
State: closed - Opened by mikkelens over 2 years ago
- 18 comments
#5749 - Bump dependencies and update crates to use `syn` 2.0
Pull Request -
State: open - Opened by fee1-dead over 2 years ago
Labels: pr-not-reviewed
#5748 - Build fails: error[E0432]: unresolved import `rustc_ast::tokenstream::Cursor`
Issue -
State: closed - Opened by yurivict over 2 years ago
- 1 comment
#5747 - `format_code_in_doc_comments` does not format `compile_fail` and `ignore` code blocks
Issue -
State: closed - Opened by wackbyte over 2 years ago
- 3 comments
#5746 - `wrap_comments` sometimes breaks code blocks in lists
Issue -
State: open - Opened by wackbyte over 2 years ago
- 2 comments
Labels: a-comments, only-with-option, p-low, a-markdown
#5745 - Weird spacing with nested tuples
Issue -
State: closed - Opened by pommicket over 2 years ago
- 2 comments
Labels: duplicate, fixed-with-v2
#5744 - rustfmt thinks it should be able to modify string values
Issue -
State: open - Opened by matthiaskrgr over 2 years ago
- 1 comment
#5743 - max_width is not stable/deterministic
Issue -
State: open - Opened by matthiaskrgr over 2 years ago
- 2 comments
Labels: p-low
#5742 - Add `max_line_length` to `.editorconfig`, matching rustfmt `max_width`
Pull Request -
State: closed - Opened by beetrees over 2 years ago
- 1 comment
#5741 - Properly handle unicode whitespace chars when rewriting missing spans
Pull Request -
State: open - Opened by ytmimi over 2 years ago
Labels: pr-not-reviewed
#5740 - Unintuitive sorting when mixing module declarations and imports
Issue -
State: closed - Opened by djc over 2 years ago
- 1 comment
#5739 - panic: `byte index 48 is not a char boundary; it is inside '\u{2029}`
Issue -
State: open - Opened by langston-barrett over 2 years ago
- 1 comment
Labels: bug, p-low
#5738 - panic: `Option::unwrap()` on a `None` value
Issue -
State: open - Opened by langston-barrett over 2 years ago
- 6 comments
Labels: bug, p-low
#5737 - Request: Drop trailing comma delimiters when inlining single-element collections
Issue -
State: closed - Opened by mcandre over 2 years ago
- 4 comments
Labels: needs-mcve
#5736 - discussion: drop support for customization
Issue -
State: closed - Opened by mcandre over 2 years ago
- 1 comment
#5735 - ICE `Request to format inverted span`
Issue -
State: closed - Opened by matthiaskrgr over 2 years ago
- 1 comment
Labels: bug, a-macros
#5734 - ICE: `panicked at 'Box<dyn Any>`
Issue -
State: open - Opened by matthiaskrgr over 2 years ago
Labels: bug, a-macros
#5733 - Rustfmt breaks code with a lot of macros
Issue -
State: closed - Opened by TheLazyDutchman over 2 years ago
- 3 comments
Labels: needs-mcve
#5732 - Prevent ICE when calling parse_attribute without an attribute
Pull Request -
State: open - Opened by ytmimi over 2 years ago
- 2 comments
Labels: pr-follow-up-review-pending
#5731 - Prevent ICE when calling parse_attribute in parse_cfg_if_inner
Pull Request -
State: closed - Opened by ytmimi over 2 years ago
Labels: release-notes
#5730 - ICE panicked at 'begin <= end (12 <= 11) when slicing `fn main() {}`''
Issue -
State: closed - Opened by matthiaskrgr over 2 years ago
- 1 comment
Labels: bug, a-macros
#5729 - ICE `parse_attribute called in non-attribute position`
Issue -
State: open - Opened by matthiaskrgr over 2 years ago
- 2 comments
Labels: bug, a-macros
#5728 - ICE `error was constructed but not emitted`
Issue -
State: closed - Opened by matthiaskrgr over 2 years ago
- 8 comments
Labels: bug, a-macros
#5727 - [Feature Request] Add mechanism to skip formatting specific comments
Issue -
State: open - Opened by ytmimi over 2 years ago
Labels: a-comments, feature-request
#5726 - Honor --color option when emitting errors from parse session
Pull Request -
State: closed - Opened by Sindisil over 2 years ago
- 3 comments
#5725 - `rustfmt_skip` can't properly prevent `wrap_comments` from formatting a specific comment
Issue -
State: closed - Opened by e00E over 2 years ago
- 4 comments
Labels: a-comments, only-with-option, p-low
#5724 - Fix #5662
Pull Request -
State: open - Opened by xldenis over 2 years ago
- 6 comments
Labels: pr-not-reviewed
#5723 - Add `ExternalCrate` import grouping style
Pull Request -
State: open - Opened by shepmaster over 2 years ago
- 8 comments
Labels: release-notes
#5721 - `feature(non_lifetime_binder)` syntax gets removed
Issue -
State: closed - Opened by BoxyUwU over 2 years ago
- 2 comments
Labels: bug, blocked
#5720 - Tracking issue for `style_edition`
Issue -
State: open - Opened by calebcartwright over 2 years ago
#5719 - Space before ?
Issue -
State: closed - Opened by burdges over 2 years ago
- 1 comment
Labels: duplicate
#5718 - Useless whitespace between two Tuple struct without named fields
Issue -
State: closed - Opened by erwanvivien over 2 years ago
- 1 comment
Labels: duplicate, fixed-with-v2
#5717 - Error output should observe --color option
Issue -
State: closed - Opened by Sindisil over 2 years ago
- 3 comments
#5716 - thread 'main' panicked at 'bad span: `.`: ``', src/tools/rustfmt/src/source_map.rs:52:13
Issue -
State: open - Opened by matthiaskrgr over 2 years ago
- 2 comments
Labels: bug
#5715 - rustfmt can't parse `async move`
Issue -
State: closed - Opened by WhyNotHugo over 2 years ago
- 3 comments
#5713 - Rustfmt loses comments in variants between the name and the discriminant
Issue -
State: open - Opened by LDVSOFT over 2 years ago
- 4 comments
Labels: bug, a-comments, p-low
#5712 - Update Configurations.md
Pull Request -
State: closed - Opened by bbyard over 2 years ago
- 1 comment
#5711 - Trailing whitespace followed by long unbreakable line causes error[internal]: left behind trailing whitespace
Issue -
State: open - Opened by mk12 over 2 years ago
- 6 comments
Labels: p-low, feature-request, e-trailing whitespace
#5708 - remove trailing whitespace from multi-line tuple struct field prefix
Pull Request -
State: open - Opened by ytmimi over 2 years ago
- 5 comments
Labels: pr-waiting-on-author
#5701 - Stripping `extern "Rust"` from functions
Issue -
State: closed - Opened by Jarcho over 2 years ago
- 13 comments
#5699 - Support formatting Jupyter notebooks with Rust code
Issue -
State: closed - Opened by dclong over 2 years ago
- 2 comments
Labels: p-low, feature-request
#5695 - rustfmt removes comment in macro invocation
Issue -
State: open - Opened by tjamaan over 2 years ago
- 3 comments
Labels: a-comments, p-low, a-macros
#5690 - Implement `let-else` formatting
Pull Request -
State: closed - Opened by ytmimi over 2 years ago
- 10 comments
#5687 - Adjust enum variant spans to exclude any explicit discriminant
Pull Request -
State: open - Opened by ytmimi over 2 years ago
- 4 comments
Labels: pr-not-reviewed
#5686 - comment inside of empty enum variant payload with explicit discriminant results in invalid syntax after rustfmt run
Issue -
State: open - Opened by LizzyFleckenstein03 over 2 years ago
- 4 comments
Labels: bug, good first issue, a-comments, help wanted
#5682 - Update dependencies `cargo_metadata`, `clap` and `env_logger`
Pull Request -
State: open - Opened by kadiwa4 over 2 years ago
Labels: pr-not-reviewed
#5680 - rustfmt erroneously removes brackets around statement arg in macro
Issue -
State: open - Opened by ColonelThirtyTwo over 2 years ago
- 8 comments
Labels: bug, a-macros, a-matches
#5679 - add `keep_newline_in_where_clause` option
Pull Request -
State: closed - Opened by naosense over 2 years ago
- 1 comment
Labels: pr-not-reviewed
#5677 - Don't flatten blocks that have labels
Pull Request -
State: closed - Opened by ytmimi over 2 years ago
- 4 comments
#5676 - Formatting labelled block expression in match arm causes invalid Rust code
Issue -
State: closed - Opened by Samzyre over 2 years ago
#5667 - Fix out of order list of configurations
Pull Request -
State: closed - Opened by BenjaminBrienen over 2 years ago
Labels: pr-not-reviewed
#5662 - Avoiding extra linebreaks when doc-comment added to enum
Issue -
State: open - Opened by xldenis over 2 years ago
- 2 comments
Labels: p-low, feature-request
#5659 - Add config option `generated_file_header_size`
Pull Request -
State: closed - Opened by captbaritone over 2 years ago
- 9 comments
Labels: pr-not-reviewed
#5658 - Option to configure how many lines down the @generated tag can be for format_generated_files?
Issue -
State: closed - Opened by captbaritone over 2 years ago
- 4 comments
Labels: good first issue, p-low, feature-request
#5656 - let proc-macro's provide a formatting hook for rustfmt
Issue -
State: open - Opened by dvc94ch over 2 years ago
- 2 comments
Labels: p-low, feature-request, a-macros
#5655 - Empty lines in where-clause
Issue -
State: closed - Opened by stanislav-tkach over 2 years ago
- 2 comments
Labels: good first issue, p-low, feature-request
#5653 - feat: add `trim_final_newlines` option
Pull Request -
State: open - Opened by yuhr over 2 years ago
- 2 comments
Labels: pr-not-reviewed
#5650 - Design Discussion for `style_edition` Configuration in rustfmt
Issue -
State: open - Opened by ytmimi over 2 years ago
- 5 comments
Labels: p-high, feature-request
#5643 - Don't remove non-breaking space in block comment with bare lines
Pull Request -
State: open - Opened by ytmimi over 2 years ago
- 1 comment
Labels: pr-not-reviewed
#5641 - Preserve markdown's double-space line break syntax in block doc comment
Pull Request -
State: open - Opened by ytmimi over 2 years ago
- 1 comment
Labels: pr-not-reviewed
#5636 - prevent unnecessary indent when formatting doc comment code snippets
Pull Request -
State: open - Opened by ytmimi over 2 years ago
- 2 comments
Labels: pr-not-reviewed
#5632 - Custom import reordering
Pull Request -
State: open - Opened by l4l over 2 years ago
- 13 comments
Labels: pr-not-reviewed
#5629 - Fix panic in annotated_snippet dependency (GitHub issue #4968).
Pull Request -
State: open - Opened by Raekye over 2 years ago
- 5 comments
Labels: pr-not-reviewed
#5626 - rustfmt hangs
Issue -
State: open - Opened by matthiaskrgr over 2 years ago
Labels: bug, p-low, a-closures
#5624 - Back-to-back match blocks causes error[internal]: left behind trailing whitespace
Issue -
State: open - Opened by betseg over 2 years ago
- 2 comments
Labels: a-binop, a-closures, e-trailing whitespace
#5616 - Remove extra unnecessary blocks
Issue -
State: open - Opened by jjant over 2 years ago
- 5 comments
Labels: p-low, feature-request, community driven
#5611 - feat: add ignore_missing_submod option
Pull Request -
State: open - Opened by tanzaku over 2 years ago
- 9 comments
Labels: pr-ready-to-merge, release-notes
#5582 - Fix for #3805 - wrap macro that starts with nested body blocks
Pull Request -
State: closed - Opened by davidBar-On over 2 years ago
- 5 comments
#5580 - `where` clauses in GAT impls aren't formatted
Issue -
State: closed - Opened by clarfonthey over 2 years ago
- 13 comments
Labels: poor-formatting, p-low
#5577 - Catalog `Version=Two` formatting differences
Issue -
State: open - Opened by calebcartwright over 2 years ago
- 35 comments
Labels: documentation
#5574 - Always Place Spaces after Commas in Macro Match Arms
Pull Request -
State: open - Opened by InsertCreativityHere almost 3 years ago
- 15 comments
Labels: pr-on-hold
#5573 - `MacroArgParser` Discards Spaces After Commas Sometimes
Issue -
State: open - Opened by InsertCreativityHere almost 3 years ago
- 4 comments
Labels: poor-formatting, only-with-option, a-macros
#5568 - `format_code_in_doc_comments` changes formatting of trailing comments in a list
Issue -
State: closed - Opened by lopopolo almost 3 years ago
- 9 comments
Labels: a-comments, only-with-option
#5557 - ci: add minimum GitHub token permissions for workflows
Pull Request -
State: closed - Opened by ashishkurmi almost 3 years ago
Labels: pr-not-reviewed
#5556 - Fix `brace_style="PreferSameLine"` with `trailing_comma="Vertical"` results
Pull Request -
State: open - Opened by hirasawayuki almost 3 years ago
- 4 comments
Labels: pr-waiting-on-author
#5554 - Special case `matches!` macro
Pull Request -
State: open - Opened by ytmimi almost 3 years ago
- 4 comments
Labels: pr-not-reviewed
#5552 - Handle `dyn*` syntax when rewriting `ast::TyKind::TraitObject`
Pull Request -
State: closed - Opened by ytmimi almost 3 years ago
- 4 comments
#5549 - config: Stabilize binop_separator again.
Pull Request -
State: open - Opened by emilio almost 3 years ago
- 14 comments
Labels: pr-not-reviewed
#5542 - rustfmt eats dyn_star syntax
Issue -
State: closed - Opened by mejrs almost 3 years ago
- 5 comments
Labels: bug, p-low
#5538 - Add unstable `format_brace_macros` option
Pull Request -
State: open - Opened by trevyn almost 3 years ago
- 22 comments
Labels: pr-on-hold
#5536 - Fix #5533: Prefer light_rewrite_comment if it is not a doccomment
Pull Request -
State: closed - Opened by pan93412 almost 3 years ago
- 8 comments
#5533 - `format_code_in_doc_comments` formats some long line comments to block comments
Issue -
State: closed - Opened by pan93412 almost 3 years ago
- 3 comments
Labels: good first issue, a-comments, only-with-option
#5526 - rustfmt removes double colons in macro
Issue -
State: open - Opened by Dinonard almost 3 years ago
- 4 comments
Labels: bug, a-macros
#5525 - Extra whitespace in nested pub extern
Issue -
State: open - Opened by rillian almost 3 years ago
- 8 comments
Labels: good first issue, poor-formatting, help wanted
#5523 - Add missing line to `use_field_init_shorthand` "true" example
Pull Request -
State: closed - Opened by mqudsi almost 3 years ago
- 4 comments
#5516 - Failing when macro has `%` in it, e.g. Tracing
Issue -
State: open - Opened by xphoniex almost 3 years ago
- 9 comments
Labels: p-low, a-macros
#5511 - Unstable features can be used on a stable toolchain with `--config` option
Issue -
State: closed - Opened by gifnksm almost 3 years ago
- 4 comments
#5509 - Improve docs for `single_line_if_else_max_width` & add tests
Pull Request -
State: open - Opened by truls-p almost 3 years ago
- 2 comments
Labels: pr-ready-to-merge