aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vet
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-05-09 11:45:38 -0400
committerRuss Cox <rsc@golang.org>2019-05-09 16:10:22 +0000
commitd56199d68e3f34d88dac92997662dc6d6ab6ae14 (patch)
tree2fe069cdcad4c8bb2b308d4f15536185e04b8d7a /src/cmd/vet
parentb56d1bad29abc4e92491c8a66bdca310831b1d8e (diff)
downloadgo-d56199d68e3f34d88dac92997662dc6d6ab6ae14.tar.gz
go-d56199d68e3f34d88dac92997662dc6d6ab6ae14.zip
cmd/vendor: import vet fixes from x/tools
Fixes build - I did not understand that vetall was effectively pinned to a vet version by cmd/go.mod. Change-Id: I56bfd8f62eadacc97cad0ed48e41a178bbc18b8f Reviewed-on: https://go-review.googlesource.com/c/go/+/176179 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/vet')
-rw-r--r--src/cmd/vet/all/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vet/all/main.go b/src/cmd/vet/all/main.go
index 0c699751ec..b917cb86e7 100644
--- a/src/cmd/vet/all/main.go
+++ b/src/cmd/vet/all/main.go
@@ -233,7 +233,7 @@ func (p platform) vet() {
vetTool := filepath.Join(tmpdir, "vet")
vetCmd = []string{
vetTool,
- "-nilness=0", // expensive, uses SSA
+ // "-nilness=0", // expensive, uses SSA
}
cmd := exec.Command(cmdGoPath, "build", "-o", vetTool, "golang.org/x/tools/go/analysis/cmd/vet")