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

GitHub / rust-lang/rustfmt issues and pull requests

#5995 - `generic_const_items` syntax gets deleted

Issue - State: closed - Opened by lukas-code over 1 year ago - 3 comments

#5993 - Add config option `generated_marker_line_search_limit`

Pull Request - State: closed - Opened by IVIURRAY over 1 year ago - 11 comments

#5989 - Fix trace! args overflow

Pull Request - State: closed - Opened by samtay over 1 year ago - 11 comments

#5987 - Bug/quirk: newline inconsistencies in argument list

Issue - State: open - Opened by samtay over 1 year ago - 1 comment
Labels: a-macros

#5986 - Rustfmt fails to format code with a long string inside struct

Issue - State: closed - Opened by sterliakov over 1 year ago - 1 comment
Labels: a-strings, e-max width

#5985 - rustfmt will fail if the end of line is a comma and a space

Issue - State: open - Opened by pfwang80s over 1 year ago - 3 comments
Labels: needs-mcve

#5984 - `format_macro_matchers` unusual behavior with commas

Issue - State: open - Opened by tgross35 over 1 year ago - 3 comments
Labels: poor-formatting, only-with-option, a-macros

#5983 - Add `let_chain_style` configuration option

Pull Request - State: open - Opened by ytmimi over 1 year ago
Labels: pr-not-reviewed

#5982 - Struct field patterns with `cfg`s are formatted unlike anything else

Issue - State: open - Opened by kpreid over 1 year ago - 1 comment
Labels: poor-formatting, a-matches

#5981 - Formatting for trailing whitespace failed on comment separated multi-line expression

Issue - State: closed - Opened by JonnyTischbein over 1 year ago - 1 comment
Labels: duplicate, a-comments, a-binop

#5980 - Subtree push 2023-12-12

Pull Request - State: closed - Opened by ytmimi over 1 year ago - 3 comments

#5979 - rust fmt failing if Cargo.toml dependency pointing to a local folder

Issue - State: open - Opened by Masber over 1 year ago - 1 comment

#5978 - Trailing whitespaces are stripped in raw string literals in doc tests

Issue - State: open - Opened by Pistonight over 1 year ago - 2 comments
Labels: a-comments, p-low

#5977 - [unstable option] show_parse_errors

Issue - State: open - Opened by waterstopper over 1 year ago
Labels: unstable option

#5976 - fix #4471 and #5138

Pull Request - State: open - Opened by ahl over 1 year ago - 4 comments
Labels: pr-not-reviewed

#5975 - cargo fmt failing in Windows with MAX_PATH problem. can you add manifest with longPathAware?

Issue - State: open - Opened by kazuhiko-kikuchi over 1 year ago - 9 comments
Labels: os-windows, needs-mcve

#5974 - Non-idempotent repeatedly growing indentation in doc attribute containing multi-line concat

Issue - State: open - Opened by dtolnay over 1 year ago - 2 comments
Labels: bug, a-macros

#5973 - rustfmt remove attribute

Issue - State: open - Opened by robertbastian over 1 year ago - 2 comments
Labels: bug

#5972 - Option for keeping closing brackets on the same line

Issue - State: open - Opened by matj1 over 1 year ago
Labels: p-low, feature-request

#5971 - Format diff line to be easily clickable

Pull Request - State: closed - Opened by joshka over 1 year ago - 3 comments

#5970 - Rustfmt removes comments after -> in function return type

Issue - State: closed - Opened by wadi-chemkhi over 1 year ago - 4 comments
Labels: duplicate, a-comments

#5969 - Implement empty lines surrounding blocks

Pull Request - State: open - Opened by richardpringle over 1 year ago - 1 comment
Labels: pr-not-reviewed

#5968 - Extend `inline_attribute_width` to more AST types

Pull Request - State: open - Opened by trevyn over 1 year ago - 2 comments
Labels: pr-follow-up-review-pending

#5967 - Clarify `format_macro_bodies` description

Pull Request - State: closed - Opened by trevyn over 1 year ago

#5966 - BUG: long lines break formatting afterwords

Issue - State: closed - Opened by A-Walrus over 1 year ago - 1 comment

#5965 - BUG: nightly removing doc comments

Issue - State: closed - Opened by joshka over 1 year ago - 3 comments

#5964 - `rustfmt 1.7.0-nightly` inconsistent output across targets

Issue - State: closed - Opened by kyle-mccarthy over 1 year ago - 26 comments

#5963 - [Feature-Request] Blank-lines surrounding curly braces

Issue - State: open - Opened by richardpringle over 1 year ago - 7 comments
Labels: p-low, feature-request

#5962 - Allow for missing modules

Issue - State: closed - Opened by abrisco over 1 year ago - 1 comment
Labels: duplicate

#5961 - #3390: rename hide_parse_errors to show_parse_errors

Pull Request - State: closed - Opened by llesha over 1 year ago - 2 comments

#5960 - Rustfmt not in path after install

Issue - State: closed - Opened by tw-ilson over 1 year ago - 3 comments

#5959 - rustfmt removes parenthesis in macro call

Issue - State: open - Opened by douglas-raillard-arm over 1 year ago - 2 comments
Labels: bug

#5958 - cargo-fmt should format tests, including doc tests

Issue - State: closed - Opened by JonathanLindsey over 1 year ago - 3 comments

#5957 - init: macOS apple silicon runner

Pull Request - State: closed - Opened by LeviticusNelson over 1 year ago - 8 comments
Labels: pr-not-reviewed

#5956 - Internal error: left behind trailing whitespace

Issue - State: closed - Opened by hmac over 1 year ago - 4 comments
Labels: a-macros, a-chains, e-trailing whitespace

#5955 - How to use rustfmt programmatically?

Issue - State: closed - Opened by loynoir over 1 year ago - 2 comments

#5954 - Fixes comma added to comment in where-clause

Pull Request - State: closed - Opened by GambitingMan over 1 year ago
Labels: release-notes

#5953 - Fix Diff-Check job for subtree sync PRs

Pull Request - State: closed - Opened by ytmimi over 1 year ago - 1 comment

#5951 - `wrap_comments = true` breaks markdown tables

Issue - State: closed - Opened by virtualritz almost 2 years ago - 3 comments

#5950 - silent formatting failure in match statements

Issue - State: closed - Opened by boemjay almost 2 years ago - 1 comment
Labels: duplicate, a-matches

#5949 - Add disambiguating space after unary minus

Issue - State: open - Opened by chfogelman almost 2 years ago - 3 comments
Labels: p-low, feature-request

#5948 - If-chain wrapping when `use_small_heuristics = "Max"`

Issue - State: open - Opened by digama0 almost 2 years ago - 11 comments

#5947 - [Feature Request] Maintain newlines between crate-level attributes

Issue - State: open - Opened by joshlf almost 2 years ago - 4 comments
Labels: p-low, feature-request

#5946 - Strange linebreaks introduced in if-let expressions with let_chains

Issue - State: closed - Opened by RalfJung almost 2 years ago - 1 comment

#5945 - Bump version to 1.7.0

Pull Request - State: closed - Opened by ytmimi almost 2 years ago - 2 comments

#5944 - sync subtree

Pull Request - State: closed - Opened by calebcartwright almost 2 years ago - 10 comments

#5943 - Partition `wrap_comments` into `normal` or `doc` settings

Pull Request - State: open - Opened by Nemo157 almost 2 years ago - 10 comments
Labels: pr-ready-to-merge, release-notes

#5942 - adds extra comma in tuple formatting

Issue - State: closed - Opened by f01dab1e almost 2 years ago - 1 comment
Labels: duplicate, a-comments

#5941 - Non-idempotent rustfmt run, adding commas to comments

Issue - State: closed - Opened by jaybosamiya almost 2 years ago - 2 comments
Labels: bug, a-comments

#5940 - Not formatting code with futures::stream::flatten if println msg is long

Issue - State: closed - Opened by DragonDev1906 almost 2 years ago - 4 comments
Labels: fixed-with-v2

#5939 - Add single line if block support for single expression

Issue - State: open - Opened by Sjael almost 2 years ago
Labels: feature-request

#5938 - Rustfmt removes initial disambiguating ::

Issue - State: closed - Opened by TomFryersMidsummer almost 2 years ago - 2 comments
Labels: duplicate, a-imports, a-edition

#5937 - Impl `StyleEditionDefault` trait for all configs

Pull Request - State: closed - Opened by ytmimi almost 2 years ago - 4 comments
Labels: p-high, a-2024-edition

#5936 - adjust span derivation for const generics

Pull Request - State: closed - Opened by calebcartwright almost 2 years ago - 1 comment

#5934 - rustfmt removes comment between `impl` keyword and type name in impl block

Issue - State: open - Opened by leighmcculloch almost 2 years ago - 3 comments
Labels: a-comments

#5933 - Add `StyleEdition` enum and `StyleEditionDefault` trait

Pull Request - State: closed - Opened by ytmimi almost 2 years ago - 4 comments

#5932 - Add CHANGELOG entries for the next release

Pull Request - State: closed - Opened by ytmimi almost 2 years ago - 1 comment

#5931 - Code in block doc comments are not formatted

Issue - State: open - Opened by magiclen almost 2 years ago - 2 comments
Labels: a-comments, only-with-option

#5930 - Long slice patterns are not getting wrapped

Issue - State: closed - Opened by IsaacShelton almost 2 years ago - 1 comment

#5929 - Fix broken links

Pull Request - State: closed - Opened by cuishuang almost 2 years ago

#5928 - ICE formatting macro

Issue - State: closed - Opened by SamRodri almost 2 years ago - 5 comments
Labels: a-macros

#5927 - Single-line imports are unnecessarily wrapped

Issue - State: open - Opened by taylordotfish almost 2 years ago
Labels: a-imports

#5926 - `rustfmt` wrongly deletes labels

Issue - State: closed - Opened by cychen2021 almost 2 years ago - 1 comment

#5925 - A comment in a oneliner closure breaks rustfmt

Issue - State: closed - Opened by khoda81 almost 2 years ago - 2 comments

#5924 - Rename `IntoOverflowableItem` to satisfy clippy

Pull Request - State: open - Opened by kadiwa4 almost 2 years ago
Labels: pr-not-reviewed

#5923 - Fixed error caused by combination of match_arm_blocks and control_brace_style

Pull Request - State: closed - Opened by GambitingMan almost 2 years ago - 2 comments
Labels: release-notes

#5922 - Comments removed/eaten after generic trait header before body

Issue - State: open - Opened by Joeoc2001 almost 2 years ago
Labels: a-comments

#5921 - Strange formatting of complex generics and `impl` types

Issue - State: open - Opened by mattfbacon almost 2 years ago - 1 comment

#5920 - Funny indentation when destructuring a struct with cfg toggled fields

Issue - State: open - Opened by grahamc almost 2 years ago - 1 comment
Labels: poor-formatting

#5919 - More table-aligned formatting for easy of readability

Issue - State: closed - Opened by Mingun almost 2 years ago - 1 comment

#5918 - Add config to allow generated lines scan to be configurable

Pull Request - State: closed - Opened by robpickerill almost 2 years ago - 2 comments
Labels: pr-not-reviewed

#5917 - Version two + hard_tabs adds indent on long generic types

Issue - State: open - Opened by Ten0 almost 2 years ago - 5 comments
Labels: duplicate, only-with-option

#5915 - Plural forms of `imports_*` options

Issue - State: closed - Opened by mgeisler almost 2 years ago - 3 comments

#5914 - Doc comments on `use` declarations are limited to 5 characters less than `max_width`

Issue - State: open - Opened by taylordotfish almost 2 years ago - 6 comments
Labels: a-comments, only-with-option

#5913 - Bugfix/comment duplication

Pull Request - State: closed - Opened by GambitingMan almost 2 years ago - 2 comments

#5912 - brace_style AlwaysNextLine fails on nightly

Issue - State: closed - Opened by aspizu almost 2 years ago - 3 comments
Labels: needs-mcve

#5911 - Rustfmt panic on formatting source code

Issue - State: closed - Opened by rakshith-ravi almost 2 years ago - 2 comments
Labels: needs-mcve

#5910 - Support let-chains

Pull Request - State: closed - Opened by ytmimi almost 2 years ago - 6 comments

#5909 - Format markdown files and rust code blocks in markdown files

Pull Request - State: open - Opened by ytmimi almost 2 years ago - 4 comments
Labels: pr-not-reviewed

#5908 - feat(cargo): Style help like cargo nightly

Pull Request - State: closed - Opened by epage almost 2 years ago

#5907 - format_code_in_doc_comments formats non-doc comments

Issue - State: closed - Opened by stepancheg almost 2 years ago - 2 comments
Labels: a-comments, only-with-option

#5906 - rustfmt binary doesn't seem to do anything on my machine

Issue - State: closed - Opened by punowo almost 2 years ago - 1 comment

#5905 - rustfmt breaks macros involving $

Issue - State: open - Opened by stephanemagnenat almost 2 years ago - 2 comments
Labels: bug, a-macros

#5904 - Fix #5624

Pull Request - State: open - Opened by GambitingMan almost 2 years ago - 5 comments
Labels: pr-not-reviewed

#5903 - internal error 1.5.2 stable

Issue - State: closed - Opened by sftse almost 2 years ago - 3 comments

#5902 - Fix checking if newline is needed before `else` in let-else statement

Pull Request - State: closed - Opened by rhysd almost 2 years ago - 10 comments

#5901 - rustfmt always inserts newline before `else` in let-else statement with attribute

Issue - State: closed - Opened by rhysd almost 2 years ago - 5 comments
Labels: poor-formatting

#5900 - Formatting of Absolute Path Causes Compile Error

Issue - State: closed - Opened by davnotdev almost 2 years ago - 1 comment
Labels: duplicate, a-imports, a-edition

#5899 - rustfmt removes import if it only contains comments

Issue - State: open - Opened by ytmimi almost 2 years ago - 6 comments
Labels: a-comments, a-imports

#5898 - Ugly line break when initializing fields in struct from returns value of function

Issue - State: closed - Opened by maltekliemann almost 2 years ago - 1 comment
Labels: duplicate, poor-formatting

#5897 - End line comment after formatting

Issue - State: closed - Opened by zonglin-hub almost 2 years ago - 1 comment
Labels: duplicate, a-comments, a-imports

#5896 - Fix typos in index.html

Pull Request - State: closed - Opened by gentoid almost 2 years ago
Labels: pr-not-reviewed

#5895 - Fix `brace_style="PreferSameLine"` with `trailing_comma="Vertical"` results

Pull Request - State: open - Opened by gentoid almost 2 years ago
Labels: pr-not-reviewed

#5894 - Fix link in CHANGELOG.md

Pull Request - State: closed - Opened by cstyles almost 2 years ago
Labels: pr-not-reviewed

#5893 - format Cargo.toml aswell

Issue - State: closed - Opened by dvc94ch almost 2 years ago - 2 comments
Labels: duplicate

#5892 - Odd formatting of type def with many generics

Issue - State: open - Opened by maltekliemann almost 2 years ago - 4 comments
Labels: poor-formatting, only-with-option

#5891 - error[internal]: left behind trailing whitespace on demo file

Issue - State: closed - Opened by Kaladum almost 2 years ago - 3 comments
Labels: a-macros, e-trailing whitespace