blob: 5c6df6c4a7c3e96981e254d6029542dfd08c8e71 [file] [log] [blame]
package fillstruct
import (
"golang.org/x/tools/internal/lsp/fillstruct/data"
)
type basicStruct struct {
foo int
}
var _ = basicStruct{} //@suggestedfix("}", "refactor.rewrite")
type twoArgStruct struct {
foo int
bar string
}
var _ = twoArgStruct{} //@suggestedfix("}", "refactor.rewrite")
type nestedStruct struct {
bar string
basic basicStruct
}
var _ = nestedStruct{} //@suggestedfix("}", "refactor.rewrite")
var _ = data.B{} //@suggestedfix("}", "refactor.rewrite")