summary refs log tree commit diff
path: root/src/rustc/middle/lang_items.rs
AgeCommit message (Collapse)AuthorLines
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-1/+1
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.
2012-09-25rustc: Fix calls to the logging function when the must_cast flag is true; ↵Patrick Walton-2/+5
stop using shape code for logging
2012-09-25Revert "rustc: Stop using shape code for logging" due to ICEsPatrick Walton-5/+2
This reverts commit ac822a52be47579ffa59d5ca3e125680a79545d0.
2012-09-25rustc: Stop using shape code for loggingPatrick Walton-2/+5
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-20Revert "syntax: Make attributes sendable for rustdoc's benefit"Brian Anderson-1/+1
This reverts commit 90e3665fa79d32c3188169cfa992516fb36b81a8.
2012-09-20syntax: Make attributes sendable for rustdoc's benefitBrian Anderson-1/+1
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-2/+2
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-2/+2
2012-09-14rustc: Make the box annihilator a language itemPatrick Walton-2/+5
2012-09-10rustc: Stop calling cmp shape glue in trans.Patrick Walton-2/+5
XFAIL's alt-borrowed_str for now. Will need to fix this up in the future.
2012-09-10Convert std::map to camel caseBrian Anderson-2/+2
2012-09-10Convert class methods to impl methods. Stop parsing class methodsBrian Anderson-0/+3
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-1/+1
2012-09-07rustc: Add a str_eq lang item for pattern matchingPatrick Walton-25/+30
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-4/+4
2012-09-06Remove struct ctorsBrian Anderson-28/+35
2012-09-04Remove 'with'Brian Anderson-2/+2
2012-09-04rustc: "import" -> "use"Patrick Walton-12/+12
2012-08-27libcore: Implement ord and eq language itemsPatrick Walton-37/+50
2012-08-26Camel case the option typeBrian Anderson-42/+42
2012-08-25Fix more unused variable warningsBrian Anderson-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-3/+3
2012-08-22intern identifiersPaul Stansifer-9/+3
2012-08-17Remove the class keywordBrian Anderson-2/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-6/+6
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-1/+1
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-1/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-3/+3
2012-07-30Fix #2979: inference for lifetimes of & expressionsNiko Matsakis-11/+6
What we now do is to create a region variable for each & expression (and also each borrow). The lifetime of this variable will be checked by borrowck to ensure it is not greater than the lifetime of the underlying data. This both leads to shorter lifetimes in some cases but also longer in others, such as taking the address to the interior of unique boxes tht are rooted in region pointers (e.g., returning a pointer to the interior of a sendable map). This may lead to issue #2977 if the rvalue is not POD, because we may drop the data in trans sooner than borrowck expects us to. Need to work out precisely where that fix ought to occur.
2012-07-27rustc: Use coherence for operator overloading.Patrick Walton-6/+18
The only use of the old-style impls is now placement new.
2012-07-25rustc: Introduce a lang_items pass, part of coherence and operator overloading.Patrick Walton-0/+209
This will also help us remove kinds.