Skip to content

x fmt doesn't format some code #5145

Closed
Closed

Description

@WaffleLapkin

While working on rustc I've noticed that x fmt doesn't format some obviously misformatted code.

Here is the code: rust-lang/rust#92164 (comment)

Activity

  1. calebcartwright commented on Dec 21, 2021

    @calebcartwright
    Member

    Duplicate of #3863, closing accordingly.

    Try manually splitting the string lit so that it's actually possible to fit within the max_width boundary

    "the `#[rustc_must_implement_one_of]` attribute must be used with at least 2 method names",
    
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions