mozilla/rust — pull request #14001 by alexcrichton (2014-05-06 23:47:20+00:00)
Title: rustc: Fix enum variant privacy across crates

The code in resolve erroneously assumed that private enums weren't visited, so
the logic was adjusted to check to see if the enum definition itself was public.

Closes #11680