cmd/vet: make sure copylock knows sync.Cond cannot be copied #14582
Labels
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As a followup to #8005, make sure that vet understands that
sync.Cond
cannot be copied. TheLocker
in that struct does not suffice because it's an interface value, not an embedded struct, so it's a pointer to a lock, which is in general fine to copy.The text was updated successfully, but these errors were encountered: