Skip to content

Using rustfmt 2.0 for the project? Bonus "stdin:" at beginning of generated coreaudio.rs #36

@dmilith

Description

@dmilith

I tried building ggez project and build failed cause os weird issue:

error: expected one of `!` or `::`, found `:`
 --> /Projects/ggez/target/release/build/coreaudio-sys-3bc6b4c7a394d9da/out/coreaudio.rs:3:6
  |
3 | stdin:
  |      ^ expected one of `!` or `::`

error: aborting due to previous error

It's what I had after trying rustfmt 2.0 without --quiet option.

Removing that line from generated file solves build trouble.

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