diff options
| author | Robert Griesemer <gri@golang.org> | 2022-09-26 12:47:41 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@google.com> | 2022-09-27 21:59:09 +0000 |
| commit | b16501c08b37235a67e2fc5b506f169152db57ae (patch) | |
| tree | 066e2f1c26034de79e0871e00838a77d02d1aa8e /src/encoding | |
| parent | 3b5188ed2c38ba29aa586db7af243c3f3be27944 (diff) | |
| download | go-b16501c08b37235a67e2fc5b506f169152db57ae.tar.xz | |
go/types, types2: use "unknown field f in struct literal of type S" in error messages
This is a compromise of the error reported by the compiler (quotes
around field name removed) and the error reported by the type checkers
(added mention of struct type).
For #55326.
Change-Id: Iac4fb5c717f17c6713e90d327d39e68d3be40074
Reviewed-on: https://go-review.googlesource.com/c/go/+/434815
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
