Sign in
go
/
tools
/
ee61fb0cbd3028fb3de7a23cd0bffed3ec8b716d
/
.
/
gopls
/
internal
/
test
/
marker
/
testdata
/
codeaction
/
removeparam_witherrs.txt
blob: 60080028f0ef9531505445033edd501f7887ad07 [
file
]
This test checks that we can't remove parameters for packages with errors.
-- p.go --
package p
func foo(unused int) { //@codeactionerr("unused", "unused", "refactor.rewrite", re"found 0")
}
func _() {
foo("") //@diag(`""`, re"cannot use")
}