Skip to content

Latest update of stable fails to format |foo = bar| (in a macro) #3583

Closed
@thomcc

Description

@thomcc

This file fails to format with the latest stable rustfmt (1.2.0, --version output at end). The macro below seems to be the cause https://github.com/mozilla/application-services/blob/eb72c9aa1e5ecfcf79c1444eb98910727c699f61/components/places/benches/search.rs#L66-L74 (We managed to fix that issue by changing the = to a :)

It also fails to report any errors beyond exiting with code 101, which appears to be issue #3008.

$ rustfmt --version
rustfmt 1.2.0-stable (09940a70 2019-03-27)

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-macrosbugPanic, 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