]> git.lizzy.rs Git - rust.git/commit
auto merge of #10182 : alexcrichton/rust/typeid-intrinsic, r=nikomatsakis
authorbors <bors@rust-lang.org>
Tue, 5 Nov 2013 03:21:50 +0000 (19:21 -0800)
committerbors <bors@rust-lang.org>
Tue, 5 Nov 2013 03:21:50 +0000 (19:21 -0800)
commit4b04395c11eeb9fa6517a73717184881a977cee4
tree93326e0289fcf04a85b7048c25dc9175d16de291
parent72e432df9dc5f546d522654336a38213af69cac8
parentb00449380f520deb65de26e654aeaba4561ee13f
auto merge of #10182 : alexcrichton/rust/typeid-intrinsic, r=nikomatsakis

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).
src/librustc/middle/trans/intrinsic.rs
src/librustc/middle/ty.rs
src/librustc/middle/typeck/check/mod.rs
src/libstd/unstable/intrinsics.rs