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

GitHub / rust-lang/rustfmt issues and pull requests

#6503 - Undesired formatting with `&raw (place)`

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

#6501 - Single line breaks aren't possible.

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

#6500 - Convert error line buffer to space indentation

Pull Request - State: open - Opened by naseschwarz 5 months ago - 1 comment
Labels: pr-not-reviewed

#6499 - Fix nested cfg_if if-statement not to hang

Pull Request - State: open - Opened by youknowone 5 months ago
Labels: pr-not-reviewed

#6498 - Add rustc's sysroot/lib to LD_LIBRARY_PATH

Pull Request - State: closed - Opened by naseschwarz 5 months ago - 1 comment
Labels: pr-not-reviewed

#6497 - Undesired reformatting of comments applying to array elements.

Issue - State: open - Opened by anforowicz 5 months ago - 1 comment
Labels: duplicate, a-comments

#6496 - Illegally adds comma to macro invocation

Issue - State: open - Opened by Person-93 5 months ago - 1 comment
Labels: bug, a-macros

#6495 - (WIP) Allow exceeding max_width if a line cannot fit

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

#6494 - Fix long type paths by breaking paths into multiple lines when exceeding maximum width

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

#6492 - Allow also allow literals as first item of single line let chain

Pull Request - State: closed - Opened by est31 5 months ago - 4 comments
Labels: release-notes

#6491 - Formatting does not work with match arm having mixed OR clauses and comments

Issue - State: open - Opened by snprajwal 5 months ago - 2 comments
Labels: a-comments, p-low, a-matches

#6490 - Braces are not collapsed for imports with `self`

Issue - State: closed - Opened by snprajwal 5 months ago - 2 comments

#6489 - Implement remove_nested_blocks option

Pull Request - State: open - Opened by karolzwolak 5 months ago
Labels: pr-not-reviewed

#6488 - Odd formatting of empty `where` clause

Issue - State: open - Opened by joshlf 5 months ago - 2 comments
Labels: duplicate, poor-formatting

#6487 - docs: pull latest version from tags instead of releases in docs page

Pull Request - State: closed - Opened by karolzwolak 5 months ago - 2 comments

#6486 - docs: clarify the editions behavior and it's consequences on formatting

Pull Request - State: closed - Opened by karolzwolak 5 months ago - 5 comments

#6485 - Docs on github pages open with old version 1.6.0 by default

Issue - State: closed - Opened by karolzwolak 5 months ago - 3 comments
Labels: p-low, documentation

#6484 - rustfmt deletes comment beside macro identifier

Issue - State: open - Opened by jaybosamiya 5 months ago - 1 comment
Labels: a-comments, p-low, a-macros

#6483 - Cargo fmt and rustfmt are using different editions by default

Issue - State: closed - Opened by ranjeethmahankali 5 months ago - 2 comments
Labels: good first issue, documentation, a-2024-edition

#6482 - Unexpected arrow indent change in trait methods with Rust edition 2024

Issue - State: open - Opened by EFanZh 5 months ago - 4 comments
Labels: poor-formatting, a-2024-edition

#6481 - Cannot override edition for a `cargo fmt` command

Issue - State: closed - Opened by YaLTeR 5 months ago - 2 comments

#6480 - Long strings prevent formatting method syntax on edition 2024

Issue - State: closed - Opened by moriyoshi-kasuga 5 months ago - 1 comment
Labels: duplicate, a-chains, a-strings

#6479 - Trailing whitespace in macro causes rustfmt exit code 1

Issue - State: closed - Opened by ethanal 5 months ago - 2 comments
Labels: a-macros, e-trailing whitespace

#6478 - Feature request: `chain_tokens` instead of `chain_width`

Issue - State: closed - Opened by RandomInsano 6 months ago - 1 comment

#6477 - Consider releasing `version_sort` as a standalone crate

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

#6476 - subtree-push nightly-2025-02-12

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

#6475 - Fix Issue 6470: Preserve Space after colon if followed by absolute path declaration (::)

Pull Request - State: open - Opened by FwP-IDN 6 months ago
Labels: pr-follow-up-review-pending

#6474 - Explain mode

Issue - State: closed - Opened by axos88 6 months ago - 2 comments

#6473 - rustfmt deletes comment after arrow in Fn type

Issue - State: open - Opened by findepi 6 months ago - 2 comments
Labels: a-comments

#6472 - Add ability to extend an existing config with missing defaults

Issue - State: open - Opened by axos88 6 months ago - 2 comments
Labels: p-low, feature-request

#6471 - [unstable option] `float_literal_trailing_zero`

Issue - State: open - Opened by ytmimi 6 months ago
Labels: unstable option

#6470 - Rustfmt can generate invalid code when using `space_after_colon=false`

Issue - State: open - Opened by lever1209 6 months ago - 2 comments
Labels: bug, only-with-option

#6469 - Left shift of chained function calls after indexing

Issue - State: open - Opened by IBims1NicerTobi 6 months ago
Labels: poor-formatting, a-chains

#6468 - labels on the closure body block can be disappearing

Pull Request - State: closed - Opened by anatawa12 6 months ago - 4 comments
Labels: release-notes

#6467 - rustfmt repository files collide on Windows

Issue - State: closed - Opened by BenjaminBrienen 6 months ago - 3 comments

#6466 - Option to have struct definitions on a single line?

Issue - State: closed - Opened by LAC-Tech 6 months ago - 2 comments

#6465 - rustfmt removes labels of block if inside macro invocation, which will break the code

Issue - State: closed - Opened by anatawa12 6 months ago - 1 comment
Labels: good first issue

#6464 - Formatting error with unsafe attributes

Issue - State: closed - Opened by neilalexander 6 months ago - 2 comments
Labels: needs-mcve

#6463 - line wrapping with range and paranthesis

Issue - State: closed - Opened by kamulos 6 months ago - 1 comment

#6462 - struct_field_align with shorthand and rest/base

Pull Request - State: open - Opened by janos-r 6 months ago
Labels: pr-not-reviewed

#6461 - rustfmt does not format deeply nested functional code

Issue - State: closed - Opened by evlogiy 6 months ago - 1 comment
Labels: duplicate, a-chains, a-matches

#6458 - comma on line below branch followed by comment inside of match breaks formatting

Issue - State: closed - Opened by simvux 6 months ago - 1 comment
Labels: duplicate, a-comments, a-matches

#6457 - Reapply "Initial work on formatting headers"

Pull Request - State: open - Opened by fee1-dead 6 months ago
Labels: pr-waiting-on-author

#6456 - rustfmt failing to format when template string is long

Issue - State: closed - Opened by Solemark 6 months ago - 2 comments

#6455 - rustfmt internal error

Issue - State: closed - Opened by float3 6 months ago

#6453 - Incorrect 0 parameter closure formatting in macros.

Issue - State: closed - Opened by coolcatcoder 6 months ago - 1 comment
Labels: a-macros, a-closures

#6452 - 2024 edition formats logically similar elements non-uniformly

Issue - State: closed - Opened by TomFryersMidsummer 6 months ago - 1 comment
Labels: a-2024-edition

#6451 - Backport merge_imports from 2.0

Issue - State: closed - Opened by ctron 6 months ago - 1 comment

#6450 - Style Guide section on items doesn't mention `const` or `static`

Issue - State: closed - Opened by estebank 7 months ago - 2 comments

#6449 - Proposed formatting for default field values

Issue - State: closed - Opened by estebank 7 months ago - 2 comments

#6448 - meet panic when execute cargo fmt

Issue - State: closed - Opened by atenjin 7 months ago - 8 comments
Labels: duplicate

#6447 - rustfmt silently fails to format my code

Issue - State: closed - Opened by zdila 7 months ago

#6446 - I got a bug in fmt my source

Issue - State: closed - Opened by gyb997 7 months ago - 1 comment

#6445 - Lift imports to the top of the block

Issue - State: open - Opened by musjj 7 months ago
Labels: p-low, feature-request

#6444 - Inline comments in match guard break auto-formatter

Issue - State: closed - Opened by dogunbound 7 months ago
Labels: duplicate, a-comments, a-matches

#6443 - The format feature is unavailable in nested code

Issue - State: closed - Opened by Ross249 7 months ago

#6442 - Panic in SourceAnnotation when using `hard_tabs = true`

Issue - State: open - Opened by lbfalvy 7 months ago - 13 comments
Labels: bug, only-with-option

#6441 - copy code from r-l/rust/pull/135251 for testing

Pull Request - State: closed - Opened by ytmimi 7 months ago - 1 comment
Labels: pr-not-reviewed

#6440 - run cargo fmt error

Issue - State: closed - Opened by zhu1365377615 7 months ago - 2 comments
Labels: needs-mcve

#6438 - Rustfmt fails to format code

Issue - State: closed - Opened by ImplOfAnImpl 7 months ago - 1 comment

#6437 - rustfmt requires two runs to converge on contrived input

Issue - State: open - Opened by jrose-signal 7 months ago - 4 comments
Labels: bug

#6436 - fn_call_width - also matches tuple construction

Pull Request - State: open - Opened by t-nil 7 months ago - 1 comment
Labels: pr-waiting-on-author

#6435 - Package name wildcard support for cargo fmt -p

Issue - State: open - Opened by sunng87 7 months ago - 2 comments
Labels: p-low, feature-request

#6434 - rustfmt deletes comment at start of array length expression

Issue - State: open - Opened by ctz 7 months ago - 2 comments
Labels: bug, a-comments

#6433 - Bad formatting for nested tuple field accesses on `style_edition` < 2024 when the accesses are formatted on different lines.

Issue - State: open - Opened by WaffleLapkin 7 months ago - 1 comment
Labels: poor-formatting, a-2015-edition

#6432 - update changelog for v1.9.0 release

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

#6431 - subtree-push nightly-2025-01-02

Pull Request - State: closed - Opened by ytmimi 7 months ago - 2 comments
Labels: release-notes

#6430 - Cannot format under strange circumstances

Issue - State: closed - Opened by NikitaRevenco 7 months ago

#6429 - Update LICENSE-APACHE, fix copyright license year

Pull Request - State: open - Opened by JasonnnW3000 7 months ago
Labels: pr-not-reviewed

#6428 - error[internal]: left behind trailing whitespace, preventing all formatting

Issue - State: closed - Opened by Paladynee 7 months ago - 1 comment
Labels: a-comments, a-binop, e-trailing whitespace

#6427 - Panic while formatting doc comment with nested block quotations

Issue - State: closed - Opened by scouten-adobe 7 months ago - 7 comments
Labels: a-comments, needs-mcve

#6426 - rustfmt misformat when comment blocks are used

Issue - State: open - Opened by knoxfighter 7 months ago - 1 comment
Labels: bug, a-comments, only-with-option

#6425 - Fix incorrect strip r# prefix from labels

Pull Request - State: closed - Opened by sobatha 7 months ago
Labels: release-notes

#6424 - rustfmt removes crucial code from macro calls (regression)

Issue - State: closed - Opened by nazar-pc 7 months ago - 6 comments

#6423 - 'error[internal]: left behind trailing whitespace' after closure argument list

Issue - State: closed - Opened by Tastaturtaste 7 months ago - 1 comment
Labels: duplicate, a-comments, a-closures, e-trailing whitespace

#6422 - byte index 4 is not a char boundary;

Issue - State: open - Opened by matthiaskrgr 8 months ago - 4 comments
Labels: bug, e-trailing whitespace

#6421 - single_line_if_else_max_width failng to work

Issue - State: closed - Opened by ethanmsl 8 months ago - 1 comment

#6420 - Formatting code that heavily uses closures appears to take an extremely long time.

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

#6419 - ICE when formatting indented alpha SourceAnnotation range `(16, 17)` is bigger than source length `16`

Issue - State: closed - Opened by bend-n 8 months ago - 1 comment
Labels: duplicate, a-rustfmt::skip, e-trailing whitespace

#6418 - rustfmt formats a macro when it should not

Issue - State: open - Opened by jaskij 8 months ago - 3 comments
Labels: poor-formatting, p-low, a-macros

#6417 - fix: wrap_comments creating invalid code blocks

Pull Request - State: closed - Opened by grant0417 8 months ago - 4 comments
Labels: release-notes

#6416 - `wrap_comments` overflows into codeblock fence

Issue - State: closed - Opened by grant0417 8 months ago - 1 comment
Labels: duplicate, a-comments, a-markdown

#6415 - Simplify `use std::io::{self};`

Issue - State: closed - Opened by iago-lito 8 months ago - 1 comment
Labels: duplicate, a-imports, wont-fix

#6414 - Add aarch64 to releases

Pull Request - State: closed - Opened by bigfootjon 8 months ago - 1 comment

#6413 - Replace wrap_str with validate_shape

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

#6412 - subtree-push nightly-2024-12-02

Pull Request - State: closed - Opened by ytmimi 8 months ago - 1 comment

#6411 - Incorrectly strips r# prefix from labels

Issue - State: closed - Opened by Raspberry1111 8 months ago - 5 comments
Labels: bug, good first issue

#6410 - Use RewriteResult in visit_item

Pull Request - State: closed - Opened by camsteffen 8 months ago

#6409 - compiler panic on trailing whitespace with await.

Issue - State: closed - Opened by gahooa 8 months ago - 1 comment
Labels: bug, duplicate, e-trailing whitespace

#6408 - Formatting panics whit a trailing whitespace.

Issue - State: closed - Opened by FabienTregan 8 months ago - 1 comment

#6407 - fix versionsort chunk split on non-ASCII numerics

Pull Request - State: closed - Opened by jessicarod7 8 months ago - 3 comments
Labels: release-notes

#6406 - Rustfmt fix not live

Issue - State: closed - Opened by ajewellamz 8 months ago - 1 comment

#6405 - Rustfmt takes a long time to format with miniscule change

Issue - State: closed - Opened by Paladynee 8 months ago - 1 comment
Labels: bug, duplicate

#6404 - Use preinterned `path` symbol

Pull Request - State: closed - Opened by clubby789 8 months ago

#6403 - docs: Fix grammar in Configurations.md

Pull Request - State: closed - Opened by imericxu 8 months ago

#6402 - document skip_children deprecation

Issue - State: closed - Opened by ernieIzde8ski 8 months ago - 1 comment