aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/fillstruct/fill_struct_package.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/lsp/testdata/fillstruct/fill_struct_package.go')
-rw-r--r--gopls/internal/lsp/testdata/fillstruct/fill_struct_package.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/gopls/internal/lsp/testdata/fillstruct/fill_struct_package.go b/gopls/internal/lsp/testdata/fillstruct/fill_struct_package.go
new file mode 100644
index 000000000..ef35627c8
--- /dev/null
+++ b/gopls/internal/lsp/testdata/fillstruct/fill_struct_package.go
@@ -0,0 +1,12 @@
+package fillstruct
+
+import (
+ h2 "net/http"
+
+ "golang.org/lsptests/fillstruct/data"
+)
+
+func unexported() {
+ a := data.B{} //@suggestedfix("}", "refactor.rewrite", "Fill")
+ _ = h2.Client{} //@suggestedfix("}", "refactor.rewrite", "Fill")
+}