Derive Clone for TypeId.
This commit is contained in:
parent
45cbdec417
commit
1971e02ec6
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user