internal: bump staticcheck to v0.7.0 for Go 1.26 support
By running:
go get -modfile internal/tools.mod honnef.co/go/tools/cmd/staticcheck@latest
Note that this surfaces a valid error in a test file; fix it.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ia7069d158301477a708c9a5d862721fd6afbd069
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1232514
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>