about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
AgeCommit message (Collapse)AuthorLines
2014-02-14extern mod => extern crateAlex Crichton-10/+10
This was previously implemented, and it just needed a snapshot to go through
2014-02-14Register new snapshotsAlex Crichton-7/+6
This enables the parser error for `extern mod` => `extern crate` transitions.
2014-02-14Removed the obsolete ast::CallSugar (previously used by `do`).Eduard Burtescu-8/+6
2014-02-14Refactored ast_map and friends, mainly to have Paths without storing them.Eduard Burtescu-22/+15
2014-02-13Replace `extern mod` with `extern crate`Flavio Percoco-79/+81
This patch adds a new keyword `crate` which is intended to replace mod in the context of `extern mod` as part of the issue #9880. The patch doesn't replace all `extern mod` cases since it is necessary to first push a new snapshot 0. The implementation could've been less invasive than this. However I preferred to take this chance to split the `parse_item_foreign_mod` method and pull the `extern crate` part out of there, hence the new method `parse_item_foreign_crate`.
2014-02-11Correct span for self and ExprStructSeo Sanghyeon-2/+2
2014-02-11Move replace and swap to std::mem. Get rid of std::utilEdward Wang-4/+4
Also move Void to std::any, move drop to std::mem and reexport in prelude.
2014-02-08Fixed error starting with uppercasemr.Shu-4/+4
Error messages cleaned in librustc/middle Error messages cleaned in libsyntax Error messages cleaned in libsyntax more agressively Error messages cleaned in librustc more aggressively Fixed affected tests Fixed other failing tests Last failing tests fixed
2014-02-07Rewrite path::Display to reduce unnecessary allocationKevin Ballard-2/+2
2014-02-07Correct span for ExprFnBlock, ExprMethodCall, ExprParenSeo Sanghyeon-3/+3
2014-02-07Removed @self and @Trait.Eduard Burtescu-20/+11
2014-02-04Replace NonCopyable usage with NoPodFlavio Percoco-2/+3
cc #10834
2014-02-02rustc: update docs & propagate @[]/@str removal more.Huon Wilson-1/+1
Various functions can now be made specific to ~[], or just non-managed vectors.
2014-02-02rustc: Remove the vstore handling of @str and @[].Huon Wilson-1/+1
2014-02-02syntax: remove the handling of @str and @[] from the parser completely.Huon Wilson-30/+9
2014-02-02syntax: add an obsolete syntax warning for @[].Huon Wilson-1/+4
2014-02-02librustc: Remove `@str` from the languagePatrick Walton-1/+4
2014-02-02libsyntax: Remove `@str` from the internerPatrick Walton-1/+2
2014-02-02libsyntax: Remove the `interner_get` function and all usesPatrick Walton-1/+2
2014-02-02libsyntax: Remove many uses of `token::ident_to_str`Patrick Walton-4/+4
2014-02-02libsyntax: Remove `ident_to_str` from the parser, which was returningPatrick Walton-8/+6
`@str` values
2014-02-02libsyntax: Remove all `@str` from the ASTPatrick Walton-5/+8
2014-02-02libsyntax: Make float literals not use `@str`Patrick Walton-3/+6
2014-02-02libsyntax: De-`@str` literal strings in the ASTPatrick Walton-5/+9
2014-02-02libsyntax: Introduce an `InternedString` type to reduce `@str` in thePatrick Walton-4/+8
compiler and use it for attributes
2014-01-31Remove the obsolete handler for `impl A;`.Huon Wilson-14/+8
This is has been obsolete for quite a while now (including a release), so removing the special handling seems fine. (The error message is quite good still anyway.) Fixes #9580.
2014-01-30Implement default type parameters in generics.Eduard Burtescu-5/+25
2014-01-30auto merge of #11911 : kballard/rust/empty-functional-update, r=pcwaltonbors-11/+6
Fixes #8972
2014-01-29Allow empty functional updating of structsKevin Ballard-11/+6
Fixes #8972
2014-01-29Removing support for the do syntax from libsyntax and librustc.Scott Lawrence-74/+2
Fixes #10815.
2014-01-27Demote self to an (almost) regular argument and remove the env param.Eduard Burtescu-37/+33
Fixes #10667 and closes #10259.
2014-01-26auto merge of #11817 : salemtalha/rust/master, r=brsonbors-3/+3
Fixes Issue #11815
2014-01-26Removed all instances of XXX in preparation for relaxing of FIXME ruleSalem Talha-3/+3
2014-01-26Fix privacy fallout from previous changeAlex Crichton-1/+1
2014-01-23Allow trailing commas in argument lists and tuple patternsSeo Sanghyeon-2/+3
2014-01-21[std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behaviorSimon Sapin-3/+3
2014-01-21[std::vec] Rename .last_opt() to .last(), drop the old .last() behaviorSimon Sapin-6/+7
2014-01-21Remove unnecessary parentheses.Huon Wilson-3/+3
2014-01-16auto merge of #11599 : sanxiyn/rust/accurate-span-3, r=luqmanabors-2/+2
2014-01-16Correct span for ExprCall and ExprIndexSeo Sanghyeon-2/+2
2014-01-14auto merge of #11485 : eddyb/rust/sweep-old-rust, r=nikomatsakisbors-57/+41
2014-01-13librustc: Remove `@` pointer patterns from the languagePatrick Walton-56/+64
2014-01-13libsyntax: Make managed box `@` patterns obsoletePatrick Walton-1/+4
2014-01-12Removed remnants of `@mut` and `~mut` from comments and the type system.Eduard Burtescu-57/+41
2014-01-11Removed obsolete 'e' prefix on ty_evec and ty_estr.Eduard Burtescu-4/+4
2014-01-09auto merge of #11055 : pcwalton/rust/placement-box, r=pcwaltonbors-1/+15
r? @nikomatsakis
2014-01-09librustc: Implement placement `box` for GC and unique pointers.Patrick Walton-1/+15
2014-01-09libsyntax: Renamed types, traits and enum variants to CamelCase.Eduard Burtescu-387/+381
2014-01-09Start the span for a path in a view_path at the correct place (at the start ↵Nick Cameron-1/+2
of the path, rather than at the start of the view_path).
2014-01-08Renamed Option::map_default and mutate_default to map_or and mutate_or_setMarvin Löbel-2/+2