-
-
Notifications
You must be signed in to change notification settings - Fork 1k
All issues
Issue creation is restricted in this repository
Issues
is:issue state:open
is:issue state:open
Search results
rustfmt does not format panic! macro under a specific circumstance
C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEneeds-triageThis issue or PR needs triaging to determine its status. Remove label once sufficiently triaged.This issue or PR needs triaging to determine its status. Remove label once sufficiently triaged.Status: Open.#7102 In rust-lang/rustfmt;Rewriting
r#try!at root of chain generates bad codeA-call-chainsArea: method call chainsArea: method call chainsA-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEneeds-triageThis issue or PR needs triaging to determine its status. Remove label once sufficiently triaged.This issue or PR needs triaging to determine its status. Remove label once sufficiently triaged.SO-use_try_shorthandStable option: use_try_shorthandStable option: use_try_shorthandStatus: Open.#7101 In rust-lang/rustfmt;[ICE]: bad span:
):;cfg_select!invalid arm expr "successfully" formats but produces an ICE reportA-cfg_select`cfg_select!``cfg_select!`A-test-harnessArea: rustfmt test harnessArea: rustfmt test harnessC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-ICEIssue: Internal Compiler Error (ICE) reported by rustfmtIssue: Internal Compiler Error (ICE) reported by rustfmtStatus: Open.#7087 In rust-lang/rustfmt;Chains of functions with a comment on the last function do not format
A-call-chainsArea: method call chainsArea: method call chainsA-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEneeds-triageThis issue or PR needs triaging to determine its status. Remove label once sufficiently triaged.This issue or PR needs triaging to determine its status. Remove label once sufficiently triaged.Status: Open.#7086 In rust-lang/rustfmt;#[rustfmt::skip]attribute skips extra linesA-rustfmt::skipArea: `rustfmt::skip` tool attributeArea: `rustfmt::skip` tool attributeC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Status: Open.#7076 In rust-lang/rustfmt;--file-lines can trip up trailing whitespace validity check
C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-trailing-whitespaceIssue: internal error; left behind trailing whitespaceIssue: internal error; left behind trailing whitespaceUO-error_on_unformattedUnstable option: error_on_unformattedUnstable option: error_on_unformattedUO-file_linesUnstable option: file_linesUnstable option: file_linesStatus: Open.#7071 In rust-lang/rustfmt;normalize_doc_attributes + wrap_comments can leave trailing whitespace
A-doc-commentsArea: doc comments `/** */`, `#[doc = "..."]`, `///` and `//!`.Area: doc comments `/** */`, `#[doc = "..."]`, `///` and `//!`.C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-trailing-whitespaceIssue: internal error; left behind trailing whitespaceIssue: internal error; left behind trailing whitespaceUO-normalize_doc_attributesUnstable option: normalize_doc_attributesUnstable option: normalize_doc_attributesUO-wrap_commentsUnstable option: wrap_commentsUnstable option: wrap_commentsStatus: Open.#7069 In rust-lang/rustfmt;rustfmt switches
;around causing type errorA-control-flowArea: control flow constructsArea: control flow constructsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-invalid-codeIssue: formatting causes compile-pass code to compile-failIssue: formatting causes compile-pass code to compile-failStatus: Open.#7061 In rust-lang/rustfmt;comma is removed from
#[cfg_attr(which causes syntax errorA-attributesArea: attributesArea: attributesA-cfgArea: `cfg` and conditional compilationArea: `cfg` and conditional compilationC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-invalid-codeIssue: formatting causes compile-pass code to compile-failIssue: formatting causes compile-pass code to compile-failStatus: Open.#7058 In rust-lang/rustfmt;rustfmt breaks code with macro + raw identifier
A-macrosArea: macros (procedural macros, macro_rules! macros, etc.)Area: macros (procedural macros, macro_rules! macros, etc.)C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-invalid-codeIssue: formatting causes compile-pass code to compile-failIssue: formatting causes compile-pass code to compile-failStatus: Open.#7056 In rust-lang/rustfmt;const {}as a method call receiver is silently left unformattedA-const-blocksArea: const blocksArea: const blocksC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-unformatted-codeIssue: unformatted codeIssue: unformatted codeStatus: Open.#7055 In rust-lang/rustfmt;rustfmt duplicates Trait identifier causing syntax error
C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEStatus: Open.#7053 In rust-lang/rustfmt;