In the Go 1.17 release I left a TODO for a better error in a fairly obscure case (an error loading the versions found in the upgraded module graph, when that path arises from a transitive dependency of a go 1.16 or earlier module).
The error today should indicate which module produced the error, but ideally the error should also log the path to that module.
Such errors should become more rare over time as modules upgrade to go 1.17 and higher. However, it would still be nice to do the TODO for the better diagnostic at some point.
Replace the last remaining use with a reference to #48024.
Trust: Bryan C. Mills <firstname.lastname@example.org>
Run-TryBot: Bryan C. Mills <email@example.com>
TryBot-Result: Go Bot <firstname.lastname@example.org>
Reviewed-by: Jay Conrod <email@example.com>