mozilla/rust — pull request #11274 by michaelwoerister (2014-01-02 15:16:11+00:00)
Title: debuginfo: Fix Issue #11083

This pull request fixes #11083. The problem was that recursive type definitions were not properly handled for enum types, leading to problems with LLVM's metadata "uniquing". This bug has already been fixed for struct types some time ago (#9658) but I seem to have forgotten about enums back then. I added the offending code from issue #11083 as a test case.