mozilla/rust — pull request #4098 by brson (2012-12-03 00:49:10+00:00)
Title: Fix cross-crate inlining of static methods

r? @pcwalton

This fixes translation of static methods with inline attributes, sourced from non-local crates. The problem is that maybe_instantiate_inline tries to look up the self type according to the self_did of the encoded inline method, and for static methods that did is just some random number unassociated with any type (afaict).