diff options
Diffstat (limited to 'internal/lsp/testdata/unimported/unimported.go.in')
-rw-r--r-- | internal/lsp/testdata/unimported/unimported.go.in | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/internal/lsp/testdata/unimported/unimported.go.in b/internal/lsp/testdata/unimported/unimported.go.in deleted file mode 100644 index c3c0243d9..000000000 --- a/internal/lsp/testdata/unimported/unimported.go.in +++ /dev/null @@ -1,20 +0,0 @@ -package unimported - -func _() { - http //@unimported("p", nethttp) - // container/ring is extremely unlikely to be imported by anything, so shouldn't have type information. - ring.Ring //@unimported("Ring", ringring) - signature.Foo //@unimported("Foo", signaturefoo) - - context.Bac //@unimported(" //", contextBackground, contextBackgroundErr) -} - -// Create markers for unimported std lib packages. Only for use by this test. -/* http */ //@item(nethttp, "http", "\"net/http\"", "package") - -/* ring.Ring */ //@item(ringring, "Ring", "(from \"container/ring\")", "var") - -/* signature.Foo */ //@item(signaturefoo, "Foo", "func(a string, b int) (c bool) (from \"golang.org/x/tools/internal/lsp/signature\")", "func") - -/* context.Background */ //@item(contextBackground, "Background", "func() context.Context (from \"context\")", "func") -/* context.Background().Err */ //@item(contextBackgroundErr, "Background().Err", "func() error (from \"context\")", "method") |