mozilla/rust — pull request #10182 by alexcrichton (2013-10-30 23:39:33+00:00)
Title: Add a type_id intrinsic

This isn't quite as fancy as the struct in #9913, but I'm not sure we should be exposing crate names/hashes of the types. That being said, it'd be pretty easy to extend this (the deterministic hashing regardless of what crate you're in was the hard part).