1
0
mirror of https://github.com/golang/go synced 2024-10-01 04:08:32 -06:00
go/go
Jonathan Amsterdam 4fc520f0d3 go/analysis/passes/errorsas: clarify message
Make it clear that the second argument must be a non-nil pointer.

The new message text matches the phrasing used in the errors.As doc.

Updates golang/go#37625.

Change-Id: I69dc2e34a5f3a5573030ba0f63f20e0821be1816
Reviewed-on: https://go-review.googlesource.com/c/tools/+/221877
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-03-03 19:44:43 +00:00
..
analysis go/analysis/passes/errorsas: clarify message 2020-03-03 19:44:43 +00:00
ast go/ast/inspector: fix misnomer in callback signature 2020-01-22 04:22:41 +00:00
buildutil all: fix more typos 2019-09-11 15:13:14 +00:00
callgraph all: add a space before +build in build tag comments 2019-09-08 12:23:18 +00:00
cfg all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
expect go/packages/packagestest: do not overwrite existing go.mod file 2020-02-06 15:23:23 +00:00
gccgoexportdata go/gccgoexportdata: correctly handle archive files containing string tables 2016-11-09 21:28:38 +00:00
gcexportdata go/gcexportdata: use IExportData when writing gcexportdata 2019-10-04 02:16:33 +00:00
internal all: consolidate invokeGo implementations 2020-02-25 21:33:46 +00:00
loader Revert "go/packages: temporarily disable some tests running on go tip with -race" 2019-10-28 14:32:39 +00:00
packages go/packages: drop imports of reflect in tests of import graph 2020-02-28 19:43:28 +00:00
pointer all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
ssa go/ssa/interp: remove unused import 2020-02-25 20:57:19 +00:00
types all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
vcs go/vcs: ignore "mod" VCS type 2019-05-06 14:53:03 +00:00