Skip to content

rustfmt wanted features & bugfixes #398

Description

@ojeda

Note: see as well:

Features that we would like to see

Required (we almost certainly want them)

Nice to have (not critical, we could workaround if needed, etc.)

Low priority (we will likely not use them in the end)

Done (stabilized, fixed, not needed anymore, etc.)


Bugs that we would like to see fixed

Required (we almost certainly want them)

Nice to have (probably not critical, we could workaround if needed, etc.)

Low priority (we will likely not use them in the end)

Done (stabilized, fixed, or not needed anymore, etc.)

Activity

  1. bjorn3 commented on Jun 29, 2021

    @bjorn3
    Member

    Which unstable rustfmt features are actually used that necessitate RUSTC_BOOTSTRAP?

  2. ojeda commented on Jun 29, 2021

    @ojeda
    MemberAuthor

    format_code_in_doc_comments is the one we are currently using.

  3. bjorn3 commented on Jun 29, 2021

    @bjorn3
    Member

    That one sounds useful. https://github.com/rust-lang/rustfmt/issues?q=format_code_in_doc_comments+is%3Aopen lists a couple of issues with it. Once those are fixed it would make sense to push for stabilization IMHO.

  4. ojeda commented on Jun 29, 2021

    @ojeda
    MemberAuthor

    Indeed! We also have a few others in the .rustfmt.toml file that were not currently enabled. I have put them in the list above :-)

  5. added
    metaMeta issue.
    • toolchainRelated to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...
    on Jun 30, 2021
  6. tgross35 commented on Aug 23, 2024

    @tgross35
    Collaborator

    hex_literal_case seems useful, and potentially pretty easy to get over the stabilization line. Thinking about this because I noticed a patch that had a mix of upper- and lowercase hex, grepping through the kernel it seems like lowercase is much more common (and used by all in-tree Rust code so far)

    Context: https://lore.kernel.org/rust-for-linux/CALNs47u6+EFYkvpyHZD5zLcjQeb2CuZNTOjPuZ4MKewoKZYPMg@mail.gmail.com/

  7. ojeda commented on Aug 24, 2024

    @ojeda
    MemberAuthor

    Thanks Trevor! I agree, that one would be useful -- added above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaMeta issue.• toolchainRelated to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions