Skip to content

Invalid formating for conditional compilation rule #1668

Closed
@r8d8

Description

@r8d8

Formatter v0.8.6 prodices invalid outup for multiargument conditional compilation rule
Resulting code doesn't compile

Expected:

/// Default path (*nix) #[cfg(all(unix, not(target_os = "macos") , not(target_os = "ios"), not(target_os = "android")))]

Received:

/// Default path (*nix) #[cfg(all(unix, not(target_os = "macos") ), not(target_os = "ios") ), not(target_os = "android")))]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPanic, non-idempotency, invalid code, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions