Skip to content

Invalid formating for conditional compilation rule #1668

@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

    C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions