auto merge of #18731 : chris-morgan/rust/derive-Clone-for-TypeId, r=alexcrichton

This commit is contained in:
bors 2014-11-08 12:46:37 +00:00
commit 34af03681f

View File

@ -536,7 +536,7 @@ extern "rust-intrinsic" {
/// `TypeId` represents a globally unique identifier for a type
#[lang="type_id"] // This needs to be kept in lockstep with the code in trans/intrinsic.rs and
// middle/lang_items.rs
#[deriving(PartialEq, Eq, Show)]
#[deriving(Clone, PartialEq, Eq, Show)]
pub struct TypeId {
t: u64,
}