• Marvin Stenger's avatar
    cmd/vet: polish output of shadow test · a8d4463e
    Marvin Stenger authored
    This commit modifies the style of a error message in case of -shadow.
    
    Previously such a message would look like:
    foo.go:42: declaration of err shadows declaration at shadow.go:13:
    
    Changes of the commit include highlighting the variable name and
    removing the ": "(space intended) at the end of the line:
    foo.go:42: declaration of "err" shadows declaration at shadow.go:13
    
    Fixes #14585.
    
    Change-Id: Ia6a6bf396668dcba9a24f025a08d8826db31f434
    Reviewed-on: https://go-review.googlesource.com/20093Reviewed-by: 's avatarRob Pike <r@golang.org>
    a8d4463e
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...