aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/stub/stub_stdlib.go.golden
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-30 16:55:43 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-30 16:55:43 +0000
commit3225eca48f7ce16eb31b2dd5a170806c1214a49e (patch)
tree7e04d345c214f3efac3c4b86c7ec3e831c500437 /internal/lsp/testdata/stub/stub_stdlib.go.golden
parent457aa020f87e3a763226dc76aa3459fd23d0aa11 (diff)
parentf10932f763d058b0dcb3acfb795c869996fef47b (diff)
downloadgolang-x-tools-3225eca48f7ce16eb31b2dd5a170806c1214a49e.tar.gz
Snap for 8383211 from f10932f763d058b0dcb3acfb795c869996fef47b to build-tools-release
Change-Id: I0969e0c20848f202469acc85c3681437b8b62fdc
Diffstat (limited to 'internal/lsp/testdata/stub/stub_stdlib.go.golden')
-rw-r--r--internal/lsp/testdata/stub/stub_stdlib.go.golden16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/lsp/testdata/stub/stub_stdlib.go.golden b/internal/lsp/testdata/stub/stub_stdlib.go.golden
new file mode 100644
index 000000000..8636cead4
--- /dev/null
+++ b/internal/lsp/testdata/stub/stub_stdlib.go.golden
@@ -0,0 +1,16 @@
+-- suggestedfix_stub_stdlib_7_19 --
+package stub
+
+import (
+ "io"
+)
+
+var _ io.Writer = writer{} //@suggestedfix("w", "refactor.rewrite")
+
+type writer struct{}
+
+// Write implements io.Writer
+func (writer) Write(p []byte) (n int, err error) {
+ panic("unimplemented")
+}
+