mozilla/rust — pull request #8370 by michaelwoerister (2013-08-07 13:59:14+00:00)
Title: Enable privacy check for enum methods.

As the title says. The fix is just one line in ` src/librustc/middle/privacy.rs`. The other modifications are small errors revealed by the new check. This missing check could also lead to linker errors when using a non-public method in another crate.