Using rustfmt 2.0 for the project? Bonus "stdin:" at beginning of generated coreaudio.rs
dmilith opened this issue · comments
Daniel (dmilith) Dettlaff commented
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.