GitHub / rust-lang/rustfmt issues and pull requests
#6401 - "`version` option is deprecated", but documented as valid
Issue -
State: closed - Opened by ethanmsl 8 months ago
- 1 comment
#6400 - Fail to format GAT with where clause
Issue -
State: closed - Opened by hsfzxjy 8 months ago
- 1 comment
#6399 - Compiler panic while formatting code with inline assembly
Issue -
State: closed - Opened by sicikh 8 months ago
- 2 comments
Labels: bug, duplicate, a-rustfmt::skip, e-trailing whitespace
#6398 - Return Result from Shape methods
Pull Request -
State: closed - Opened by camsteffen 8 months ago
- 4 comments
#6397 - formatting takes too long
Issue -
State: closed - Opened by ohad-starkware 8 months ago
- 1 comment
Labels: duplicate
#6396 - fix panic on failure to format generics in enum
Pull Request -
State: open - Opened by ding-young 8 months ago
- 6 comments
Labels: pr-follow-up-review-pending
#6395 - Refactor visit_struct, visit_enum to propagate RewriteResult
Pull Request -
State: open - Opened by ding-young 8 months ago
Labels: pr-not-reviewed
#6394 - assignment is not formatted properly
Issue -
State: closed - Opened by BenjaminBrienen 8 months ago
- 1 comment
Labels: duplicate
#6393 - error[internal]: left behind trailing whitespace
Issue -
State: closed - Opened by Quandrax 8 months ago
- 1 comment
Labels: duplicate, a-rustfmt::skip, e-trailing whitespace
#6392 - Error occurs after rustfmt
Issue -
State: closed - Opened by Rjerk 9 months ago
- 3 comments
Labels: needs-mcve
#6391 - Update annotate-snippets
Pull Request -
State: closed - Opened by clubby789 9 months ago
- 5 comments
Labels: release-notes
#6390 - `check_diff` function rewrite
Pull Request -
State: closed - Opened by benluiwj 9 months ago
- 1 comment
#6389 - Weird behavior with parameters `chain_width` and `use_small_heuristics`
Issue -
State: closed - Opened by 0hDEADBEAF 9 months ago
- 2 comments
Labels: good first issue, documentation
#6388 - Styling of Rust Frontmatter
Issue -
State: open - Opened by epage 9 months ago
- 7 comments
#6387 - Formatting of associated types with GATs very verbose
Issue -
State: open - Opened by nicoburns 9 months ago
- 3 comments
Labels: feature-request
#6386 - `single_line_let_else_max_width` emits a warning if a macro definition exists
Issue -
State: closed - Opened by mamekoro 9 months ago
- 1 comment
Labels: duplicate
#6385 - `rustfmt` doesn't always remove unecessary `where` clause
Issue -
State: closed - Opened by kennykerr 9 months ago
- 2 comments
Labels: duplicate
#6384 - reformatting creates new (incorrectly) formatted code
Issue -
State: closed - Opened by conradludgate 9 months ago
- 4 comments
Labels: a-matches, fixed-with-v2
#6383 - Configuring rustfmt formatting with the builder pattern
Issue -
State: closed - Opened by LiveDuo 9 months ago
- 6 comments
#6382 - Bad formatting with closures
Issue -
State: open - Opened by Jasonshengxi 9 months ago
- 2 comments
Labels: poor-formatting, a-closures
#6381 - Too long line for function parameter of type impl Trait
Issue -
State: open - Opened by benediktsatalia 9 months ago
Labels: poor-formatting, e-max width
#6380 - Newlines between commented code in call chains get removed
Issue -
State: closed - Opened by AeonSolstice 9 months ago
- 2 comments
Labels: duplicate, a-comments, p-low
#6379 - Formatting error: closing curly-brace placed to the last comment (using `visual` imports indent)
Issue -
State: open - Opened by boozook 9 months ago
- 1 comment
Labels: bug, a-comments, a-imports
#6378 - Crash during rustfmt
Issue -
State: closed - Opened by douweschulte 9 months ago
- 3 comments
Labels: needs-mcve
#6377 - `match` isn't formatted
Issue -
State: closed - Opened by ChayimFriedman2 9 months ago
- 1 comment
Labels: fixed-with-v2
#6376 - Fix incorrect separator for match arms (#6373)
Pull Request -
State: open - Opened by mfarberbrodsky 9 months ago
- 2 comments
Labels: pr-waiting-on-author
#6375 - repair Ord for UseSegment
Pull Request -
State: closed - Opened by ajewellamz 9 months ago
- 12 comments
Labels: release-notes
#6374 - Macro attributes containing consts not formatted correctly
Issue -
State: open - Opened by musjj 9 months ago
- 2 comments
#6373 - Block comment inside match adds unnecessary comma
Issue -
State: open - Opened by mfarberbrodsky 9 months ago
- 1 comment
Labels: bug, a-comments, a-matches
#6372 - Fix typos
Pull Request -
State: closed - Opened by jayvdb 9 months ago
- 1 comment
Labels: pr-not-reviewed
#6371 - Catalog `style_edition=2027` formatting differences
Issue -
State: open - Opened by ytmimi 9 months ago
- 3 comments
Labels: documentation, a-2027-edition
#6370 - Doc comment whitespace is incrementally removed
Issue -
State: closed - Opened by johnbchron 9 months ago
- 1 comment
Labels: bug, duplicate, a-comments
#6368 - apply 2024 version sort algorithm to mods
Pull Request -
State: closed - Opened by calebcartwright 9 months ago
- 3 comments
Labels: p-high, release-notes, a-2024-edition
#6367 - [feature request] Configuration support for different naming scehemes
Issue -
State: closed - Opened by sarpuser 10 months ago
- 1 comment
#6366 - Update dependencies
Pull Request -
State: closed - Opened by printfn 10 months ago
- 1 comment
Labels: pr-not-reviewed
#6365 - Method calls with a long literal string doesn't get formatted
Issue -
State: closed - Opened by musjj 10 months ago
- 1 comment
Labels: duplicate, a-chains, a-strings
#6364 - --print-config current with use_small_heuristics = "Off": Could not output config: out-of-range value for u64 type
Issue -
State: open - Opened by antifuchs 10 months ago
- 2 comments
#6363 - [BUG] formatter removes block comments
Issue -
State: closed - Opened by NishantJoshi00 10 months ago
- 1 comment
Labels: duplicate, a-comments
#6362 - Defer changes for zero argument functions until `style_edition=2027`
Pull Request -
State: closed - Opened by ytmimi 10 months ago
Labels: p-high, release-notes, a-2024-edition, a-2027-edition
#6361 - Hint which style_edition to use instead of version
Pull Request -
State: closed - Opened by ravvio 10 months ago
Labels: release-notes
#6360 - Clamp width settings to max_width before warning about exceeding it
Pull Request -
State: open - Opened by rs-sac 10 months ago
- 3 comments
Labels: pr-follow-up-review-pending
#6359 - Clamp width settings to max_width before warning about exceeding it
Pull Request -
State: closed - Opened by rs-sac 10 months ago
Labels: pr-not-reviewed
#6358 - Wrap multi lined trailing block comments (#6339)
Pull Request -
State: open - Opened by dqkqd 10 months ago
Labels: pr-not-reviewed
#6357 - rustfmt hangs indefinitely parsing large decimal literals and deep parentheses
Issue -
State: open - Opened by chancehudson 10 months ago
- 3 comments
Labels: bug
#6356 - Suppress warning if max_width reduced below other settings in macro
Pull Request -
State: closed - Opened by rs-sac 10 months ago
- 1 comment
Labels: pr-not-reviewed
#6355 - Wrong formatting
Issue -
State: closed - Opened by pepa65 10 months ago
- 4 comments
#6353 - High overhead
Issue -
State: open - Opened by TomFryersMidsummer 10 months ago
- 7 comments
#6352 - Not formatting.
Issue -
State: closed - Opened by coolcatcoder 10 months ago
- 4 comments
Labels: needs-mcve
#6351 - Comment indentation/alignment changed in Rust 1.81
Issue -
State: open - Opened by printfn 10 months ago
- 9 comments
#6350 - Wish to have some new options about line break style
Issue -
State: open - Opened by zhongxinghong 10 months ago
- 2 comments
Labels: feature-request
#6349 - Unexpected extra space in multi-line tuple struct with `pub`
Issue -
State: closed - Opened by jrose-signal 10 months ago
- 2 comments
Labels: duplicate
#6348 - Breaking change in type alias with bound
Issue -
State: closed - Opened by robertbastian 10 months ago
- 1 comment
#6347 - rustfmt forcefully moves trailing comments to irrelevant code above (and not idempotent either)
Issue -
State: open - Opened by msrd0 10 months ago
- 3 comments
Labels: a-comments
#6346 - rustfmt 1.8.0-nightly (6c6d210089 2024-09-22) change many codes
Issue -
State: closed - Opened by Sherlock-Holo 10 months ago
- 4 comments
#6344 - rustfmt leaves behind a too-long line inside a closure
Issue -
State: open - Opened by RalfJung 10 months ago
- 1 comment
Labels: poor-formatting, a-closures, e-max width
#6343 - Whitespaces in path to macro inside derive block
Issue -
State: open - Opened by kuqmua 10 months ago
- 2 comments
Labels: poor-formatting
#6342 - Formatting error ('left behind trailing whitespace') on if statement with comment between `&&` and expression
Issue -
State: closed - Opened by antonilol 10 months ago
- 1 comment
Labels: duplicate, a-comments, a-binop, e-trailing whitespace
#6341 - presence of lint attributes changes const block formatting
Issue -
State: open - Opened by eric-seppanen 10 months ago
- 3 comments
#6340 - the `version` option is deprecated -- but which "style_edition" should I set?
Issue -
State: closed - Opened by RalfJung 10 months ago
- 5 comments
Labels: good first issue, documentation
#6339 - rustfmt breaks a `/* ... */` comment into `/* ... //`, with no terminating `*/`
Issue -
State: open - Opened by ssbr 10 months ago
- 4 comments
Labels: bug, a-comments, only-with-option
#6338 - max_width makes short lines longer
Issue -
State: open - Opened by kornelski 10 months ago
- 9 comments
Labels: feature-request
#6337 - chore: prep v1.8.0 release
Pull Request -
State: closed - Opened by ytmimi 10 months ago
- 1 comment
Labels: pr-not-reviewed
#6336 - Preallocate missmatches in `JsonEmitter::add_misformatted_file`
Pull Request -
State: closed - Opened by Rawk 10 months ago
#6335 - Avoid allocation in `JsonEmitter::emit_footer`
Pull Request -
State: closed - Opened by Rawk 10 months ago
#6334 - Replace `Config` field 5-tuple with a struct
Pull Request -
State: open - Opened by Rawk 10 months ago
- 4 comments
Labels: pr-not-reviewed
#6333 - cargo fmt crashes in Rust 1.81.0
Issue -
State: closed - Opened by ajewellamz 10 months ago
- 10 comments
Labels: bug, help wanted
#6332 - Chained call after block should be one level deeper
Issue -
State: closed - Opened by upsuper 10 months ago
- 3 comments
#6331 - Use `usize::MAX` instead of deprecated `usize::max_value`
Pull Request -
State: closed - Opened by Rawk 10 months ago
Labels: pr-not-reviewed
#6330 - Document changes for the next release
Pull Request -
State: closed - Opened by ytmimi 10 months ago
#6329 - rustfmt crash
Issue -
State: closed - Opened by ajewellamz 10 months ago
- 4 comments
Labels: needs-mcve
#6328 - Non-panicking `fmt::Display` for `FileName`
Pull Request -
State: closed - Opened by Rawk 10 months ago
- 1 comment
#6327 - Support formatting macro calls with simple brace delimited arguments
Pull Request -
State: closed - Opened by johnislarry 10 months ago
- 8 comments
#6326 - Avoid two allocations
Pull Request -
State: closed - Opened by Rawk 11 months ago
Labels: pr-not-reviewed
#6325 - Add config and attribute to set the number of array values per line
Issue -
State: open - Opened by flaviojs 11 months ago
- 3 comments
Labels: p-low, feature-request
#6324 - Add style_edition 2027
Pull Request -
State: closed - Opened by johnhuichen 11 months ago
- 7 comments
Labels: release-notes, a-2027-edition
#6323 - refactor - show file path in error message when parsing config from toml
Pull Request -
State: closed - Opened by ytmimi 11 months ago
- 4 comments
#6322 - Feature: formatting other languages within rust code
Issue -
State: closed - Opened by Diggsey 11 months ago
- 1 comment
#6321 - rustfmt failed: left behind trailing whitespace
Issue -
State: closed - Opened by RalfJung 11 months ago
- 3 comments
Labels: duplicate, a-comments, e-trailing whitespace
#6320 - subtree-push nightly-2024-09-10
Pull Request -
State: closed - Opened by ytmimi 11 months ago
- 1 comment
#6319 - ci: bump actions/checkout to v4
Pull Request -
State: closed - Opened by trivikr 11 months ago
#6318 - ICE: called `Option::unwrap()` on a `None` value
Issue -
State: closed - Opened by MaxOhn 11 months ago
- 1 comment
#6317 - Add missing backtick in comment
Pull Request -
State: closed - Opened by cuishuang 11 months ago
#6316 - Format issue on supertrait with bounds on associated types.
Issue -
State: open - Opened by gui1117 11 months ago
- 6 comments
Labels: poor-formatting
#6315 - Double quotes in specific positions cause string formatting errors
Issue -
State: closed - Opened by waruto210 11 months ago
- 7 comments
Labels: bug, duplicate, only-with-option, a-strings
#6314 - First and second operand in series of binops should not be on one line if first operand 4 characters and binop requires surrounding spaces
Issue -
State: open - Opened by joshtriplett 11 months ago
#6313 - Draft: Add #[rustfmt::sort] and implement for enum variants and struct structs
Pull Request -
State: open - Opened by Code0x58 11 months ago
- 1 comment
Labels: pr-not-reviewed
#6312 - Global config clashes with CI formatting checks that assume the default
Issue -
State: closed - Opened by kornelski 11 months ago
- 1 comment
#6311 - impl rewrite_result for ast::Expr
Pull Request -
State: closed - Opened by ding-young 11 months ago
- 1 comment
Labels: GSoC
#6310 - refactor - improved error regarding issue "Better error message #6302"
Pull Request -
State: closed - Opened by rufevean 11 months ago
- 14 comments
#6309 - Impl rewrite_result for ForeignItem, TraitAliasBounds, WherePredicate
Pull Request -
State: closed - Opened by ding-young 11 months ago
- 1 comment
Labels: GSoC
#6308 - Avoid allocation in `ChainItemKind::is_tup_field_access`
Pull Request -
State: closed - Opened by Rawk 11 months ago
#6307 - Fix `test_editions_2015_2018_2021_identical`
Pull Request -
State: closed - Opened by Rawk 11 months ago
#6306 - Avoid some string allocations
Pull Request -
State: closed - Opened by Rawk 11 months ago
#6305 - rust-lang/style-team#189: rhs-should-use-indent-of-last-line-of-lhs
Pull Request -
State: open - Opened by johnhuichen 11 months ago
- 8 comments
Labels: p-high, a-2024-edition
#6304 - Fix many lint warnings
Pull Request -
State: closed - Opened by Rawk 11 months ago
- 1 comment
Labels: pr-not-reviewed
#6303 - rustup toolchain version nightly-2024-08-17 broke codelldb debugger
Issue -
State: closed - Opened by johnhuichen 11 months ago
- 1 comment
#6302 - Better error message
Issue -
State: closed - Opened by appetrosyan 11 months ago
- 16 comments
Labels: good first issue
#6301 - Feature request: Add an option to place the arguments of function-like attributes on the same line until `attr_fn_like_width` is exceeded.
Issue -
State: open - Opened by mamekoro 11 months ago
Labels: p-low, feature-request
#6300 - Incorrectly and non-idempotently modifies `..` in macro
Issue -
State: open - Opened by anchpop 11 months ago
- 1 comment
Labels: bug, a-comments, a-macros
#6299 - Defining generics in a macro inside macro causes infinite indentation
Issue -
State: open - Opened by maxcabrajac 11 months ago
- 1 comment
Labels: bug, a-macros