Skip to content

Commit

Permalink
Merge pull request #8 from pczarn/master
Browse files Browse the repository at this point in the history
Add implementation of new lang items
  • Loading branch information
Charlie Somerville committed Jul 7, 2013
2 parents 8d5d911 + 2f478a8 commit d68fec9
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions zero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,26 @@ pub trait Copy {}
#[lang="owned"]
pub trait Owned {}

#[lang="const"]
pub trait Const {}
#[lang="freeze"]
pub trait Freeze {}

#[lang="opaque"]
pub enum Opaque {}

#[lang="ty_desc"]
pub struct TyDesc;

#[lang="ty_visitor"]
pub trait TyVisitor {}

#[lang="closure_exchange_malloc"]
pub trait ClosureExchangeMalloc {}

#[lang="send"]
pub trait Send {}

#[lang="sized"]
pub trait Sized {}

#[lang="drop"]
pub trait Drop {
Expand Down

0 comments on commit d68fec9

Please sign in to comment.