go/gopls/internal/lsp/source
Robert Findley 10e9d3cefa gopls/internal/lsp: tolerate new 'imported and not used' error message
Tolerate the new form of the "... imported but not used" error message,
to allow landing this change in go/types.

Along the way, improve the test output when comparing diagnostics, and
formatting results.

For golang/go#54845

Change-Id: I998d539f82e0f70c85bdb4c40858be5e01dd08b6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/435355
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
2022-09-27 19:33:44 +00:00
..
completion
add_import.go
api_json.go go/analysis/passes/loopclosure: experiment with checking t.Run+Parallel 2022-09-20 22:09:32 +00:00
call_hierarchy.go
code_lens.go
comment.go
comment_go118.go
comment_go118_test.go
diagnostics.go
extract.go gopls: fix out of bounds bug in extract 2022-09-21 16:48:39 +00:00
fix.go
folding_range.go
format.go
format_test.go
gc_annotations.go
highlight.go
hover.go
identifier.go
identifier_test.go
implementation.go gopls/internal/lsp/source: clarify qualifiedObject 2022-09-20 16:27:24 +00:00
inlay_hint.go
known_packages.go
options.go gopls/internal/lsp/source: make "chatty" diagnostics the default 2022-09-12 18:14:22 +00:00
options_test.go
references.go gopls/internal/lsp/source: clarify qualifiedObject 2022-09-20 16:27:24 +00:00
rename.go gopls/internal/lsp/source: clarify qualifiedObject 2022-09-20 16:27:24 +00:00
rename_check.go
signature_help.go
source_test.go gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
stub.go
symbols.go internal/lsp/source: derive document symbols from syntax alone 2022-09-23 13:51:08 +00:00
types_format.go
util.go internal/lsp/source: derive document symbols from syntax alone 2022-09-23 13:51:08 +00:00
util_test.go
view.go gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
workspace_symbol.go
workspace_symbol_test.go