<span style="color:#323232;">func main() {
</span><span style="color:#323232;"> test := true
</span><span style="color:#323232;"> _ = test
</span><span style="color:#323232;">}
</span>
Perfectly cromulent code.
If they really wanted to avoid people having unused variables, they should have used a naming convention. Any variable not prefixed by “_” or “debug” or whatever has to be used, for example. Then block any code being checked in that still contains those markers.