summary refs log tree commit diff
path: root/src/libsyntax/print/pprust.rs
AgeCommit message (Collapse)AuthorLines
2012-10-08Revert "remove ctor from ast"Tim Chevalier-0/+12
This reverts commit ed3689d57c988e1dd477930d957c4308c37d1a64.
2012-10-08remove ctor from astNiko Matsakis-12/+0
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-1/+0
and test cases. Closes #3513
2012-10-05Revert "wip"Tim Chevalier-0/+1
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-1/+0
2012-09-28Pretty-print item visibility modifiersBrian Anderson-0/+1
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-27core: More option demodingBrian Anderson-4/+4
2012-09-26turn ast::ident into a structErick Tryzelaar-17/+17
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-23core: Demode optionBrian Anderson-7/+7
2012-09-21libsyntax: Fix botched mergePatrick Walton-1/+1
2012-09-21libcore: De-mode strPatrick Walton-3/+3
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-18/+52
#[legacy_exports];
2012-09-20Revert "syntax: Make attributes sendable for rustdoc's benefit"Brian Anderson-4/+4
This reverts commit 90e3665fa79d32c3188169cfa992516fb36b81a8.
2012-09-20syntax: Make attributes sendable for rustdoc's benefitBrian Anderson-4/+4
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-28/+32
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-1/+1
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-2/+2
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-2/+2
2012-09-18libcore: make a copyless io::BytesWriterErick Tryzelaar-21/+21
2012-09-18libsyntax: Remove 'unchecked_blk' from ASTBrian Anderson-1/+0
2012-09-14Have parser recognize static, self region.Niko Matsakis-24/+24
Fixes a bug in methods that &self couldn't be referenced in the body. Also fixes #2479.
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-11/+21
Fixes #3261 Fixes #3443
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-1/+1
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-1/+1
2012-09-10rustc: Make shape-based compare glue never called for comparison operators.Patrick Walton-15/+28
Only called for string patterns.
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-4/+4
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-1/+1
2012-09-07Remove support for multiple traits in a single implTim Chevalier-6/+7
There was half-working support for them, but they were never fully implemented or even approved. Remove them altogether. Closes #3410
2012-09-07Implement &-patternsTim Chevalier-0/+4
Closes #2855
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-21/+30
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-04Parse 'loop' and 'again' the sameBrian Anderson-1/+3
2012-09-04libsyntax: "import" -> "use"Patrick Walton-11/+9
2012-08-31rustc: Implement "use mod"Patrick Walton-6/+9
2012-08-31Fix anon-extern-mod pretty print test.Graydon Hoare-3/+5
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-3/+2
2012-08-29Allow extern mods to be anonymousTim Chevalier-1/+4
extern mod { f(); } is now allowed, and puts f in the enclosing scope. (Requires a link_name attribute to be really useful...)
2012-08-27Camel case various core constructorsBrian Anderson-3/+3
2012-08-26Camel case the option typeBrian Anderson-94/+94
2012-08-25libsyntax: Accept ',' to separate struct fields. Closes #3263.Patrick Walton-1/+1
2012-08-25rustc: Implement foreign constants.Patrick Walton-0/+8
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-24Remove match checkTim Chevalier-2/+1
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-24extend liveness to treat bindings more like other variablesNiko Matsakis-1/+3
This results in a lot of warnings in rustc. I left them in because many are bugs and we should fix our code, but Graydon asked that I not touch every file in the codebase.
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-18/+22
2012-08-23Parenthesize unary move exprs in prettyprinterTim Chevalier-1/+6
Closes #3220
2012-08-23Pretty-print macros with `()` instead of `{}`.Paul Stansifer-6/+8
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-2/+2
2012-08-22Parse and typecheck moving out of enums (#2329)Ben Blum-0/+1
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-6/+2
This gets rid of a gratuitous `match check`.