Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
wanted: prettier (or useful) debug info of compile, like "Rust" #39826
When posting plain text, please use plain text, perhaps with Markdown markers. Please do not post images. Images are harder to read and don't support cut-and-paste. Thanks.
The additional comments that the Rust compiler emits don't make sense for Go. There is no way to avoid the warning by doing anything like prefixing an underscore. There is no way to disable the warning, so the
More generally, the Go compiler adheres to the standard Unix philosophy of preferring to be quiet. The place to report more information is not the compiler, but the IDE. Go supports easy tooling for operations like detecting unused variables.
I'm going to close this issue because we aren't going to take any action here. Please comment if you disagree.