remove visible_private_types

I had to remove this in order to get it to compile against latest rust master.