Check unnecessary visibility for struct variants