syntax: print visibilities of foreign items
auto merge of #7938 : crabtw/rust/foreign-vis, r=huonw