Check unnecessary visibility for struct variants
auto merge of #9956 : sfackler/rust/more-more-visibility, r=alexcrichton