aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/stub/stub_issue2606.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/lsp/testdata/stub/stub_issue2606.go')
-rw-r--r--gopls/internal/lsp/testdata/stub/stub_issue2606.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/gopls/internal/lsp/testdata/stub/stub_issue2606.go b/gopls/internal/lsp/testdata/stub/stub_issue2606.go
new file mode 100644
index 000000000..66ef2b24b
--- /dev/null
+++ b/gopls/internal/lsp/testdata/stub/stub_issue2606.go
@@ -0,0 +1,7 @@
+package stub
+
+type I interface{ error }
+
+type C int
+
+var _ I = C(0) //@suggestedfix("C", "refactor.rewrite", "")