aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/stub/stub_call_expr.go
blob: 0c309466524b010e9a4813bcc40a2aa5e14c9ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package stub

func main() {
	check(&callExpr{}) //@suggestedfix("&", "refactor.rewrite", "")
}

func check(err error) {
	if err != nil {
		panic(err)
	}
}

type callExpr struct{}