An open API service for providing issue and pull request metadata for open source projects.

GitHub / rust-lang/rustfmt issues and pull requests

#6604 - Bug: trailing spaces left after formatting

Issue - State: open - Opened by antonilol 18 days ago - 4 comments
Labels: a-comments, e-trailing whitespace

#6603 - Leading whitespace in a file isn't removed after formatting if code is indented even 1 character

Issue - State: open - Opened by antonilol 18 days ago - 1 comment
Labels: bug, p-low, a-whitespace

#6602 - Rustfmt breaks the line without exceeding the maximum width

Issue - State: closed - Opened by boozook 19 days ago - 3 comments
Labels: poor-formatting, only-with-option, a-2024-edition

#6601 - Wrong calc `fn_call_width` vs. `max_width` for default use_small_heuristics

Issue - State: closed - Opened by boozook 19 days ago - 3 comments
Labels: needs-mcve

#6600 - fix (#6586): Set a length limit

Pull Request - State: open - Opened by algosul 19 days ago - 2 comments
Labels: pr-waiting-on-author

#6599 - Add documtation for the rustfmt::skip attribute

Issue - State: open - Opened by nameOfUser0236 20 days ago
Labels: documentation

#6598 - Fix (some) shellcheck lint errors

Pull Request - State: open - Opened by GuillaumeGomez 22 days ago - 1 comment
Labels: pr-not-reviewed

#6596 - ergonomic_clones use doesn't seem to work

Issue - State: open - Opened by spastorino 26 days ago - 1 comment

#6595 - Revert "defer changes for zero argument functions until style_edition=2027"

Pull Request - State: open - Opened by ytmimi 26 days ago
Labels: pr-not-reviewed, a-2024-edition

#6594 - defer version sorted modules until style-edition 2027

Pull Request - State: open - Opened by ytmimi 26 days ago
Labels: pr-not-reviewed, a-2027-edition

#6593 - Not so nice formatting of nested iterators

Issue - State: closed - Opened by mattfbacon 29 days ago - 2 comments

#6592 - Randomly doesn't format on similar `loop` blocks

Issue - State: closed - Opened by dybucc 29 days ago - 1 comment
Labels: duplicate, a-chains

#6591 - Code not getting formatted

Issue - State: closed - Opened by LebedevRI 29 days ago - 6 comments
Labels: needs-mcve

#6590 - fix: preserve attributes for fn params with empty idents

Pull Request - State: open - Opened by CPunisher 30 days ago
Labels: pr-not-reviewed

#6589 - Buf with cargo fmt

Issue - State: open - Opened by AveNRU about 1 month ago - 13 comments
Labels: needs-mcve

#6588 - `foo::{self}` is not rustfmt'd to `foo`

Issue - State: closed - Opened by joshlf about 1 month ago - 1 comment

#6587 - `mod` statements in macro expansions aren't recursively formatted

Issue - State: closed - Opened by bal-e about 1 month ago - 4 comments

#6586 - [bug] wrap_comments

Issue - State: open - Opened by yuanair about 1 month ago
Labels: bug, a-comments, only-with-option

#6584 - Allow use of unstable features without nightly Rust

Issue - State: closed - Opened by alshdavid about 1 month ago - 2 comments

#6583 - Replace 'positive integer' with 'nonnegative integer'

Pull Request - State: open - Opened by blkerby about 1 month ago
Labels: pr-waiting-on-author

#6582 - cargo fmt stopped working / does nothing

Issue - State: closed - Opened by ev3nst about 1 month ago - 1 comment
Labels: needs-mcve

#6581 - Formatting `extern` without an ABI adds the default ABI

Issue - State: closed - Opened by ehuss about 1 month ago - 2 comments

#6580 - `rustfmt` fails to format if blocks comments is embedded in text

Issue - State: closed - Opened by sayantn about 1 month ago - 1 comment
Labels: duplicate, a-comments

#6579 - fix: wrap function without a body exceeding 100 characters (#6539)

Pull Request - State: open - Opened by lukewilson2002 about 1 month ago - 5 comments
Labels: pr-waiting-on-author

#6578 - Remove extraneous comma in `Configurations.md`

Pull Request - State: closed - Opened by tylerlaprade about 1 month ago
Labels: pr-not-reviewed

#6577 - fix: #6520, move comment above line if it would cross out the type in…

Pull Request - State: open - Opened by MarcusGrass about 2 months ago
Labels: pr-not-reviewed

#6576 - `format_strings` can cause code to no longer be reformatted

Issue - State: open - Opened by VorpalBlade about 2 months ago - 6 comments
Labels: only-with-option, a-strings

#6575 - fix: remove trailing spaces when rewriting same line missing comments

Pull Request - State: open - Opened by ytmimi about 2 months ago - 2 comments
Labels: pr-not-reviewed

#6574 - Add Support for sorting `#[derive(...)]`

Issue - State: open - Opened by maksym-arutyunyan about 2 months ago - 3 comments
Labels: feature-request

#6573 - fix: #6558 don't try to repair invalid self-imports.

Pull Request - State: closed - Opened by MarcusGrass about 2 months ago - 3 comments
Labels: release-notes

#6572 - fix: split a line exceeding the maximum width

Pull Request - State: closed - Opened by ynishimi about 2 months ago
Labels: release-notes, a-2027-edition

#6571 - rustfmt panic: `Option::unwrap()` on `None` value in items.rs:562

Issue - State: closed - Opened by avrabe 2 months ago - 4 comments
Labels: needs-mcve

#6570 - doc: "0" listed as possible value for "positive integer" values

Issue - State: open - Opened by ensc 2 months ago - 1 comment
Labels: documentation

#6569 - wrap_comments=true can add a space to already properly formatted comments

Issue - State: open - Opened by ahl 2 months ago - 1 comment
Labels: duplicate, a-comments, only-with-option, e-trailing whitespace

#6568 - Trailing whitespace remains when passing `--edition 2024`

Issue - State: open - Opened by mmottl 2 months ago - 3 comments
Labels: e-trailing whitespace, a-2024-edition

#6567 - Format an empty file with 0 lines instead of 1 line

Pull Request - State: open - Opened by tyilo 2 months ago
Labels: pr-not-reviewed

#6566 - Fix path resolution of `rustfmt` in `cargo-fmt`

Pull Request - State: closed - Opened by onur-ozkan 2 months ago - 5 comments
Labels: release-notes

#6565 - rustfmt: formatting meta-arguments in a macro is not idempotent

Issue - State: closed - Opened by Kijewski 2 months ago - 2 comments
Labels: bug, duplicate, a-macros

#6564 - Wrong indentation when using double `?` to handle long async function calls

Issue - State: open - Opened by eareimu 3 months ago - 2 comments
Labels: a-closures

#6563 - rustfmt continuously indents multiline attribute in `macro_rules!` up until `max_width`

Issue - State: closed - Opened by ZaneErebos 3 months ago
Labels: bug, duplicate, a-macros

#6562 - Show what `use_field_init_shorthand = true` does

Pull Request - State: closed - Opened by bernardosulzbach 3 months ago - 4 comments

#6561 - rustfmt eats attributes while formatting functions with variadic parameters

Issue - State: open - Opened by mejrs 3 months ago - 1 comment
Labels: bug, good first issue

#6560 - Option to skip formatting specific sections

Issue - State: closed - Opened by kstrafe 3 months ago - 1 comment

#6558 - `use self;` gets entirely deleted

Issue - State: closed - Opened by emilyyyylime 3 months ago - 3 comments
Labels: bug, p-low, a-imports

#6557 - Extra commas are not removed

Issue - State: closed - Opened by ArtemIsmagilov 3 months ago - 5 comments

#6555 - cargo fmt fails to format code when using symlinks

Issue - State: open - Opened by ckoehne 3 months ago - 2 comments

#6552 - feature: format && on new line

Issue - State: closed - Opened by sergey-safarov 3 months ago

#6551 - Comments placed in-between a field and type in a struct get deleted after formatting

Issue - State: open - Opened by anarchvile 3 months ago - 1 comment
Labels: bug, a-comments

#6550 - Fmt break to raw_ident label fail

Issue - State: closed - Opened by A4-Tacks 3 months ago - 1 comment

#6549 - panic: left behind trailing whitespace

Issue - State: closed - Opened by 35VLG84 3 months ago - 3 comments

#6548 - Sort the first group in StdExternalCrate import grouping by their subset relation

Pull Request - State: open - Opened by MonterraByte 3 months ago
Labels: pr-not-reviewed

#6546 - cleanup of redundant patterns

Pull Request - State: open - Opened by jogru0 3 months ago
Labels: pr-not-reviewed

#6545 - Unclear message for comments with trailing spaces

Issue - State: open - Opened by giluis 3 months ago - 1 comment
Labels: p-low, feature-request

#6544 - Commented out `macro_rules` arm gets moved after previous arm

Issue - State: open - Opened by Alexendoo 3 months ago
Labels: bug, a-comments

#6543 - Warning raised on code annotated with `#[rustfmt::skip]`

Issue - State: closed - Opened by Jarcho 3 months ago - 5 comments

#6542 - For matches!(x, xx if matches!(xxx)) structures are not split into line formatting.

Issue - State: closed - Opened by xizheyin 3 months ago
Labels: duplicate, a-closures

#6541 - Format paths in `derive` attribute

Pull Request - State: open - Opened by Norbiros 4 months ago
Labels: pr-not-reviewed

#6540 - New configuration option: indent_blank_lines

Pull Request - State: open - Opened by quaternic 4 months ago
Labels: pr-not-reviewed

#6539 - Off by one: return type on associated function/method wraps at exactly `max_width`

Issue - State: open - Opened by chrisduerr 4 months ago - 3 comments
Labels: good first issue

#6538 - `use_small_heuristics = "Max"` ignores `max_width` for macros

Issue - State: open - Opened by chrisduerr 4 months ago - 1 comment
Labels: a-macros, e-max width, a-2024-edition

#6537 - readme: improve Editions section

Pull Request - State: closed - Opened by tshepang 4 months ago
Labels: pr-not-reviewed

#6536 - Deep nests hang rustfmt

Issue - State: closed - Opened by djkato 4 months ago - 1 comment
Labels: duplicate, a-closures

#6535 - 13 nested blocks and 25 characters inside closure break formatting

Issue - State: closed - Opened by Faervan 4 months ago - 1 comment

#6534 - Able to use unstable features in stable via --config

Issue - State: closed - Opened by brianduff 4 months ago - 2 comments
Labels: duplicate

#6533 - [unstable option] `match_arm_indent`

Issue - State: open - Opened by ytmimi 4 months ago - 1 comment
Labels: unstable option

#6532 - Add `#![feature(ergonomic_clones)]` formatting

Pull Request - State: closed - Opened by ytmimi 4 months ago - 3 comments
Labels: release-notes

#6531 - subtree-push nightly-2025-04-02

Pull Request - State: closed - Opened by ytmimi 4 months ago - 3 comments
Labels: pr-not-reviewed

#6530 - revert `overflow_delimited_expr` default for style edition 2024

Pull Request - State: closed - Opened by ytmimi 4 months ago
Labels: pr-not-reviewed

#6529 - subtree-push nightly-2025-04-01

Pull Request - State: closed - Opened by ytmimi 4 months ago - 2 comments
Labels: pr-not-reviewed

#6528 - Apply clippy lint fixes

Pull Request - State: closed - Opened by BenjaminBrienen 4 months ago - 3 comments
Labels: pr-not-reviewed

#6527 - Rustfmt refuses to format this block of Rust.

Issue - State: closed - Opened by Qix- 4 months ago - 1 comment
Labels: duplicate, a-chains

#6526 - Add formatting support for the `asm!` macro

Issue - State: open - Opened by folkertdev 4 months ago - 4 comments
Labels: feature-request, blocked

#6525 - Add `match_arm_indent` option

Pull Request - State: closed - Opened by KAAtheWiseGit 4 months ago - 7 comments
Labels: release-notes

#6524 - Handle `cargo fmt --manifest-path` when specifying the workspace's root `Cargo.toml`

Pull Request - State: open - Opened by ytmimi 4 months ago
Labels: pr-not-reviewed

#6522 - Extend cfg_if! support to cfg_match!

Pull Request - State: closed - Opened by CAD97 4 months ago
Labels: release-notes

#6521 - function return type exceeds max width without wrapping

Issue - State: open - Opened by jan-ferdinand 4 months ago - 1 comment
Labels: e-max width

#6519 - Rustfmt refusing to format a long match expression

Issue - State: closed - Opened by asibahi 4 months ago - 1 comment

#6518 - WASI compilation?

Issue - State: closed - Opened by Timmmm 4 months ago - 6 comments

#6516 - SourceAnnotation range `(137, 138)` is bigger than source length `124`

Issue - State: closed - Opened by Swiftie13st 4 months ago - 4 comments
Labels: duplicate, needs-mcve

#6515 - Weird new-line that does not shrink line width

Issue - State: open - Opened by Robbepop 4 months ago
Labels: poor-formatting

#6514 - rustfmt bug in viscose

Issue - State: closed - Opened by nupha 4 months ago - 3 comments
Labels: duplicate, a-imports, needs-mcve

#6513 - ICE on experimental feature fn delegation (`reuse`) in associated item position

Issue - State: open - Opened by fmease 4 months ago - 1 comment
Labels: bug, p-low

#6512 - Add ergonomic ref counting support

Issue - State: closed - Opened by spastorino 4 months ago - 3 comments

#6511 - Rustfmt package on conda

Issue - State: closed - Opened by lpanichi 4 months ago - 1 comment

#6510 - Comment between pub and fn lost

Issue - State: open - Opened by bjorn3 4 months ago

#6508 - Github pages with config properties inaccessible

Issue - State: closed - Opened by konstantinzolotarev 4 months ago - 2 comments

#6507 - implemented fix for issue 5249

Pull Request - State: open - Opened by konnorandrews 5 months ago - 4 comments
Labels: blocked, pr-not-reviewed

#6506 - [feat] enforce use path style

Issue - State: closed - Opened by loynoir 5 months ago - 1 comment

#6505 - Fails to format with large generic on method.

Issue - State: closed - Opened by konnorandrews 5 months ago

#6504 - rustfmt should reorder precise capturing

Issue - State: open - Opened by oriongonza 5 months ago - 1 comment
Labels: p-low, feature-request