GitHub / rust-lang/rustfmt issues and pull requests
#5890 - wrap_comments wraps too early
Issue -
State: open - Opened by benediktsatalia almost 2 years ago
- 4 comments
Labels: a-comments, only-with-option
#5889 - Use `OR` operator in Cargo.toml `license` field
Pull Request -
State: closed - Opened by kevinji almost 2 years ago
#5888 - thread 'main' panicked at 'SourceAnnotation range `(58, 60)` is bigger than source length `58`'
Issue -
State: closed - Opened by arifd almost 2 years ago
- 2 comments
Labels: bug, duplicate, e-trailing whitespace
#5887 - Format trailing where clauses in type aliases
Pull Request -
State: closed - Opened by compiler-errors almost 2 years ago
- 19 comments
#5886 - Inline comments don't work after {
Issue -
State: closed - Opened by dev-ardi almost 2 years ago
- 1 comment
Labels: duplicate, a-comments
#5885 - ICE: unreachable `src/tools/rustfmt/src/expr.rs:407:13`
Issue -
State: open - Opened by matthiaskrgr almost 2 years ago
Labels: bug, p-low, a-macros
#5884 - Enhance diff_check with more unicode et al
Issue -
State: open - Opened by calebcartwright almost 2 years ago
- 13 comments
Labels: good first issue, help wanted
#5883 - Improve formatting of empty macro_rules! definitions
Pull Request -
State: closed - Opened by ytmimi almost 2 years ago
- 3 comments
Labels: release-notes
#5882 - rustfmt adds trailing spaces to macro rules
Issue -
State: closed - Opened by matthiaskrgr almost 2 years ago
- 1 comment
Labels: a-macros, e-trailing whitespace
#5881 - Inline format arguments for easier reading
Pull Request -
State: closed - Opened by nyurik almost 2 years ago
- 2 comments
#5880 - Block-comments formatted incorrectly
Issue -
State: closed - Opened by Mango0x45 almost 2 years ago
- 1 comment
Labels: duplicate, a-comments
#5879 - Prevent ICE when formatting item-only `vec!{}`
Pull Request -
State: closed - Opened by tdanniels almost 2 years ago
- 4 comments
#5878 - Prevent ICE when formatting braced vec! when...
Pull Request -
State: closed - Opened by tdanniels almost 2 years ago
Labels: pr-not-reviewed
#5877 - rustfmt unexpectedly eats comments in block imports (`use` statements)
Issue -
State: closed - Opened by lthoerner almost 2 years ago
- 2 comments
Labels: duplicate, a-comments
#5876 - Compiler unexpectedly panicked when formatting code
Issue -
State: open - Opened by gianzellweger almost 2 years ago
- 14 comments
Labels: bug, a-whitespace, e-trailing whitespace
#5875 - Recover comments in return type
Pull Request -
State: closed - Opened by Centri3 almost 2 years ago
- 4 comments
Labels: pr-not-reviewed
#5874 - rustfmt eats comment after `->` in return type
Issue -
State: open - Opened by Centri3 almost 2 years ago
- 3 comments
Labels: a-comments
#5873 - `#[cfg(debug_assertions)]` on expression causing odd formatting
Issue -
State: closed - Opened by Centri3 almost 2 years ago
- 4 comments
Labels: poor-formatting, p-low, a-binop
#5872 - Enable rustfmt to compile when using the `generic-simd` feature
Pull Request -
State: closed - Opened by ytmimi almost 2 years ago
- 3 comments
#5871 - buggy formatting on expression attributes with comments
Issue -
State: closed - Opened by meetmangukiya almost 2 years ago
- 2 comments
Labels: bug, a-comments
#5870 - rustfmt eats comments in fn return type wrapped in parenthesis
Issue -
State: open - Opened by Centri3 almost 2 years ago
- 6 comments
Labels: a-comments
#5869 - Rustfmt doesn't format some code in a large file
Issue -
State: closed - Opened by gianzellweger almost 2 years ago
- 2 comments
#5868 - `error[internal]: left behind trailing whitespace`
Issue -
State: closed - Opened by matthiaskrgr almost 2 years ago
- 2 comments
Labels: duplicate, a-comments
#5867 - Remove newlines in where clauses for v2
Pull Request -
State: closed - Opened by kevinji almost 2 years ago
- 1 comment
#5866 - `let ... = ... else {}` badly and infinitely indented with repeated formatting
Issue -
State: closed - Opened by madonuko almost 2 years ago
- 1 comment
Labels: duplicate
#5864 - Update Unicode data to 15.0
Pull Request -
State: closed - Opened by crlf0710 almost 2 years ago
- 3 comments
#5863 - Error when formatting `if let` with `&&`
Issue -
State: closed - Opened by momvart almost 2 years ago
- 3 comments
#5862 - Regression with `wrap_comments=true`
Issue -
State: open - Opened by rwestphal almost 2 years ago
- 8 comments
Labels: a-comments, only-with-option, p-low
#5861 - Hanging when formatting a decently sized math expression
Issue -
State: open - Opened by PvdBerg1998 about 2 years ago
- 2 comments
#5860 - Invalid code when formatting `matches!()` expressions with leading pipe also for the first alternative
Issue -
State: open - Opened by tsdh about 2 years ago
- 1 comment
Labels: bug, a-macros
#5859 - build failure
Issue -
State: closed - Opened by matthiaskrgr about 2 years ago
- 3 comments
#5858 - rustfmt silently gives up on formatting expressions after `if let` if some literal is too long
Issue -
State: closed - Opened by bernardosulzbach about 2 years ago
- 6 comments
Labels: duplicate
#5857 - Consider using `enum_discrim_align_threshold = 20` and `struct_field_align_threshold = 20` as the default.
Issue -
State: closed - Opened by effinsky about 2 years ago
- 4 comments
#5856 - How to keep the comments at the same line when reformatting the code with Rust code formatter?
Issue -
State: closed - Opened by q2333gh about 2 years ago
- 1 comment
Labels: duplicate
#5855 - Suspicious formatting with string literals in macros
Issue -
State: closed - Opened by JaniM about 2 years ago
- 1 comment
#5854 - Add `StyleEditionDefault` trait, `StyleEdition` enum, and `#[style_edition]` proc macro
Pull Request -
State: closed - Opened by ytmimi about 2 years ago
- 2 comments
Labels: pr-not-reviewed
#5853 - Fix issues with formatting imports with comments
Pull Request -
State: closed - Opened by rsammelson about 2 years ago
- 21 comments
#5852 - Comments in imports are formatted incorrectly
Issue -
State: closed - Opened by rsammelson about 2 years ago
- 1 comment
Labels: bug, a-comments, a-imports
#5851 - `rustfmt` ignores chains when it contains long argument
Issue -
State: closed - Opened by TimeEngineer about 2 years ago
- 1 comment
Labels: duplicate
#5850 - `rustfmt` leaves an extra space after `self` in function signature
Issue -
State: open - Opened by TimeEngineer about 2 years ago
- 4 comments
Labels: poor-formatting, p-low
#5849 - Can't have single line let-else and control braces on next line
Issue -
State: open - Opened by fedenator about 2 years ago
- 4 comments
Labels: only-with-option
#5848 - Support non-lifetime binders
Pull Request -
State: closed - Opened by compiler-errors about 2 years ago
- 3 comments
#5847 - Initial work on formatting headers
Pull Request -
State: closed - Opened by fee1-dead about 2 years ago
- 11 comments
#5846 - improve the --file-lines help
Pull Request -
State: closed - Opened by richardmon about 2 years ago
- 2 comments
#5845 - refactor ABI formatting
Pull Request -
State: closed - Opened by fee1-dead about 2 years ago
- 7 comments
#5844 - misc code cleanup
Pull Request -
State: closed - Opened by fee1-dead about 2 years ago
#5843 - automatically add pr-not-reviewed to new PRs
Pull Request -
State: closed - Opened by fee1-dead about 2 years ago
#5842 - fix: Add parenthesis around `..` closure if it's a method call receiver
Pull Request -
State: closed - Opened by Centri3 about 2 years ago
- 1 comment
#5841 - Rustfmt is … confused 😳 by `//` comment after `pub` and before `trait`
Issue -
State: open - Opened by danielhenrymantilla about 2 years ago
- 2 comments
Labels: bug, a-comments, p-low
#5840 - rustfmt fails to format (due to quote?)
Issue -
State: closed - Opened by deepink-mas about 2 years ago
- 4 comments
#5839 - fix: reject leading `.`, `)` without prefix as item marker
Pull Request -
State: closed - Opened by xxchan about 2 years ago
- 8 comments
#5838 - doc: fix instruction about running Rustfmt from source code
Pull Request -
State: closed - Opened by xxchan about 2 years ago
- 13 comments
#5837 - fix link in CHANGELOG.md
Pull Request -
State: closed - Opened by xxchan about 2 years ago
#5836 - inconsistent behavior of `wrap_comments` (merges short lines in lists)
Issue -
State: open - Opened by xxchan about 2 years ago
- 2 comments
Labels: a-comments, only-with-option, p-low
#5835 - `wrap_comments` removes spaces after leading dot
Issue -
State: closed - Opened by xxchan about 2 years ago
- 1 comment
Labels: a-comments, only-with-option, p-low
#5834 - Add option to control trailing zero in floating-point literals
Pull Request -
State: closed - Opened by amatveiakin about 2 years ago
- 10 comments
Labels: release-notes
#5833 - Prevent ICE when formatting an empty-ish macro arm
Pull Request -
State: closed - Opened by tdanniels about 2 years ago
#5832 - rustfmt shifts macro body 4 indent levels to the right for no reason
Issue -
State: open - Opened by Boscop about 2 years ago
- 1 comment
Labels: bug, p-low, a-macros
#5831 - Break lines for attributes in otherwise vertical display (argument / type attributes)
Issue -
State: open - Opened by tgross35 about 2 years ago
- 2 comments
Labels: p-low, feature-request
#5830 - Use matches!() macro to improve readability
Pull Request -
State: closed - Opened by jmqd about 2 years ago
#5829 - Import sorting breaks with long paths
Issue -
State: closed - Opened by lovesegfault about 2 years ago
- 4 comments
#5828 - rustfmt puts comment on a different line
Issue -
State: closed - Opened by RalfJung about 2 years ago
- 2 comments
Labels: duplicate
#5827 - Export diff check results to a zip archive
Pull Request -
State: open - Opened by ytmimi about 2 years ago
- 3 comments
Labels: pr-waiting-on-author
#5826 - Extra whitespace inserted between literal and line comment.
Issue -
State: open - Opened by hackguy25 about 2 years ago
- 1 comment
Labels: poor-formatting, a-comments, p-low
#5825 - Fix #5823
Pull Request -
State: open - Opened by codingskynet about 2 years ago
- 1 comment
Labels: pr-on-hold
#5824 - `rustfmt` needs more than 1 run to reach an idempotent state in some cases
Issue -
State: open - Opened by teh-cmc about 2 years ago
- 1 comment
Labels: bug, p-low
#5823 - Closure having long string in method argument is not formatted
Issue -
State: closed - Opened by codingskynet about 2 years ago
- 1 comment
Labels: duplicate
#5822 - doc: make environment variable setting more explicit.
Pull Request -
State: closed - Opened by rzhb about 2 years ago
- 3 comments
#5821 - Fix diff check Job
Pull Request -
State: closed - Opened by ytmimi about 2 years ago
- 1 comment
#5820 - In `use` blocks, prelude should come first
Issue -
State: closed - Opened by Kyllingene about 2 years ago
- 3 comments
Labels: p-low, a-imports
#5819 - Comments within main.rs "break" cargo build, check, or any other cargo calls that I make.
Issue -
State: closed - Opened by MikeGitIt about 2 years ago
- 7 comments
Labels: needs-mcve
#5818 - Actually use `tracing` for logging
Pull Request -
State: closed - Opened by fee1-dead about 2 years ago
#5817 - handle skip_macro_invocations from config file
Pull Request -
State: closed - Opened by calebcartwright about 2 years ago
- 2 comments
#5815 - Implement the "conversion to plain text" algorithm from DUTS #55 to protect from bidirectional spoofing
Issue -
State: open - Opened by Manishearth about 2 years ago
- 14 comments
Labels: feature-request
#5814 - `cargo fmt` ignores `rustfmt.toml` in subdirectory
Issue -
State: closed - Opened by not-my-profile about 2 years ago
- 5 comments
Labels: needs-mcve
#5813 - Incorrect closure brace suggestion
Issue -
State: open - Opened by HadrienG2 about 2 years ago
- 4 comments
#5812 - rustfmt gives up on long `let` into tuple
Issue -
State: open - Opened by joshtriplett about 2 years ago
- 1 comment
Labels: poor-formatting
#5811 - rustfmt puts `where` on same line as `impl` for empty `impl` even if long
Issue -
State: open - Opened by joshtriplett about 2 years ago
- 1 comment
Labels: blocked
#5805 - Release binaries dynamically links to rustc libraries
Issue -
State: closed - Opened by williamboman about 2 years ago
- 3 comments
#5804 - prep v1.6.0 release
Pull Request -
State: closed - Opened by calebcartwright about 2 years ago
#5802 - Internal error "left behind trailing whitespace" for function argument with trailing space
Issue -
State: closed - Opened by cdbennett about 2 years ago
- 3 comments
#5801 - enum variant doc comments are wrapped before `comment_width`
Issue -
State: closed - Opened by InsertCreativityHere about 2 years ago
- 4 comments
Labels: a-comments, fixed-with-v2
#5798 - Don't skip semicolon if expressions follow
Pull Request -
State: closed - Opened by CosmicHorrorDev about 2 years ago
- 1 comment
#5796 - derive attribute is not wrapped if it's exactly max length
Issue -
State: open - Opened by Dzordzu about 2 years ago
- 13 comments
Labels: p-low, feature-request, e-max width
#5794 - Rewrite float literals ending in dots with parens in method calls
Pull Request -
State: closed - Opened by fee1-dead about 2 years ago
#5793 - Fix invalid formatting when line comment before comma
Pull Request -
State: open - Opened by fee1-dead about 2 years ago
- 2 comments
Labels: pr-not-reviewed
#5787 - Implement `style_edition` config
Pull Request -
State: closed - Opened by ytmimi about 2 years ago
- 6 comments
Labels: pr-not-reviewed
#5782 - Using a markdown formatter for (doc) comments & wrapping
Issue -
State: open - Opened by tgross35 about 2 years ago
- 12 comments
#5781 - Add `ImportGranularity::ModuleCondensed`
Pull Request -
State: open - Opened by smoelius about 2 years ago
- 9 comments
Labels: pr-not-reviewed
#5779 - Try changing how we currently "maintain" types with new where clause position
Issue -
State: closed - Opened by calebcartwright about 2 years ago
- 5 comments
#5773 - Feature request: control maximum line length with `fn_params_layout = "Tall"`?
Issue -
State: open - Opened by kevinushey about 2 years ago
Labels: p-low, feature-request
#5772 - Misformatting: excessive indentation due to `dyn` in type alias
Issue -
State: open - Opened by inodentry about 2 years ago
- 2 comments
Labels: poor-formatting
#5770 - Document how to "leave" formatting as-is
Issue -
State: open - Opened by calebcartwright about 2 years ago
Labels: documentation
#5769 - error[internal]: left behind trailing whitespace
Issue -
State: closed - Opened by john01dav about 2 years ago
- 5 comments
Labels: duplicate, e-trailing whitespace
#5768 - `async move` parsing fails, compilation works
Issue -
State: closed - Opened by StarStarJ about 2 years ago
- 1 comment
#5767 - Group imports by their visibilities
Pull Request -
State: open - Opened by kafji about 2 years ago
Labels: pr-waiting-on-author
#5766 - Single expression match arm blocks on one line
Issue -
State: open - Opened by KaitlynEthylia about 2 years ago
Labels: p-low, feature-request
#5765 - for consistency, stop lines from automatically collapsing even if such a joined line would not exceed max_width
Issue -
State: closed - Opened by effinsky about 2 years ago
- 4 comments
#5764 - rustfmt doesn't fix poor indentation
Issue -
State: closed - Opened by enterprisey about 2 years ago
- 1 comment
Labels: duplicate
#5763 - Inconsistent empty lines in function arguments with fn_args_layout = "Tall"
Issue -
State: closed - Opened by orhantugrul about 2 years ago
- 2 comments