mozilla/rust — pull request #13647 by alexcrichton (2014-04-20 19:11:57+00:00)
Title: rustc: Improve errors on private static methods

This gives a better NOTE error message when a privacy error is encountered with
a static method. Previously no note was emitted (due to lack of support), but
now a note is emitted indicating that the struct/enum itself is private.

Closes #13641