coreaudio-sys icon indicating copy to clipboard operation
coreaudio-sys copied to clipboard

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

Open dmilith opened this issue 5 years ago • 0 comments

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.

dmilith avatar May 31 '20 10:05 dmilith