go/types: sort unused declaration errors
By position, to ensure deterministic output. Fixes #22525. Change-Id: I28777d504a622416678b52afd6fc4c3ef32c12af Reviewed-on: https://go-review.googlesource.com/75090 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Showing
Please register or sign in to comment