staticcheck: Fix unused fields
The embedded `nocmp` field and other similar fields are unused in tests and the rest of our code. We can get the effect of `nocmp` without embedding the fields by using `_ nocmp` as a field.
This commit is contained in:
Reference in New Issue
Block a user