Sign in
go
/
tools
/
d857e8544b9ca13b48482501f558e36389bff4ae
/
.
/
gopls
/
internal
/
test
/
marker
/
testdata
/
codeaction
/
removeparam_witherrs.txt
blob: 60080028f0ef9531505445033edd501f7887ad07 [
file
] [
log
] [
blame
]
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")
}