aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/fillstruct/a3.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/testdata/fillstruct/a3.go')
-rw-r--r--internal/lsp/testdata/fillstruct/a3.go42
1 files changed, 0 insertions, 42 deletions
diff --git a/internal/lsp/testdata/fillstruct/a3.go b/internal/lsp/testdata/fillstruct/a3.go
deleted file mode 100644
index 730db3054..000000000
--- a/internal/lsp/testdata/fillstruct/a3.go
+++ /dev/null
@@ -1,42 +0,0 @@
-package fillstruct
-
-import (
- "go/ast"
- "go/token"
-)
-
-type Foo struct {
- A int
-}
-
-type Bar struct {
- X *Foo
- Y *Foo
-}
-
-var _ = Bar{} //@suggestedfix("}", "refactor.rewrite")
-
-type importedStruct struct {
- m map[*ast.CompositeLit]ast.Field
- s []ast.BadExpr
- a [3]token.Token
- c chan ast.EmptyStmt
- fn func(ast_decl ast.DeclStmt) ast.Ellipsis
- st ast.CompositeLit
-}
-
-var _ = importedStruct{} //@suggestedfix("}", "refactor.rewrite")
-
-type pointerBuiltinStruct struct {
- b *bool
- s *string
- i *int
-}
-
-var _ = pointerBuiltinStruct{} //@suggestedfix("}", "refactor.rewrite")
-
-var _ = []ast.BasicLit{
- {}, //@suggestedfix("}", "refactor.rewrite")
-}
-
-var _ = []ast.BasicLit{{}} //@suggestedfix("}", "refactor.rewrite")