summary refs log tree commit diff
path: root/src/libsyntax/parse/obsolete.rs
AgeCommit message (Collapse)AuthorLines
2013-06-28librustc: Rewrite reachability and forbid duplicate methods in type ↵Patrick Walton-1/+20
implementations. This should allow fewer symbols to be exported.
2013-06-28libsyntax: Remove "copy" pattern bindings from the languagePatrick Walton-0/+5
2013-06-28librustc: Disallow "mut" from distributing over bindings.Patrick Walton-0/+6
This is the backwards-incompatible part of per-binding-site "mut".
2013-06-25great renaming propagation: syntaxCorey Richardson-5/+3
2013-06-23Parse and typecheck (not kindcheck) bounds on trait paths.Ben Blum-5/+0
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-1/+1
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-1/+1
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-0/+6
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-04libsyntax: Remove `pub impl` from the languagePatrick Walton-6/+5
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-11/+16
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+1
2013-05-25Use an enum for keywords and intern them to improve parser performanceBjörn Steinbrink-3/+3
Currently, keywords are stored in hashsets that are recreated for every Parser instance, which is quite expensive since macro expansion creates lots of them. Additionally, the parser functions that look for a keyword currently accept a string and have a runtime check to validate that they actually received a keyword. By creating an enum for the keywords and inserting them into the ident interner, we can avoid the creation of the hashsets and get static checks for the keywords. For libstd, this cuts the parse+expansion part from ~2.6s to ~1.6s.
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+1
to libextra
2013-05-19Register snapshotsBrian Anderson-8/+0
2013-05-15Allow static strings to be used with keyword checksBjörn Steinbrink-2/+2
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-7/+7
2013-05-12libsyntax: Remove `extern mod foo { ... }` from the language.Patrick Walton-0/+6
2013-05-10Remove the '<->' operator from the languageAlex Crichton-0/+5
2013-05-10syntax: Use the new `for` protocolAlex Crichton-0/+8
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-05-01allow parsing attributes on struct fieldsErick Tryzelaar-3/+3
2013-04-28rename parse_single_class_item as wellJohn Clements-1/+1
2013-04-28refactor parse_fn_declJohn Clements-1/+1
2013-04-27only use #[no_core] in libcoreDaniel Micay-2/+0
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-1/+1
2013-03-26librustc: Stop parsing `[T * N]`.Patrick Walton-0/+5
2013-03-26syntax: Removing uses of HashMapAlex Crichton-2/+2
2013-03-22libsyntax: Stop parsing `const`.Patrick Walton-0/+6
2013-03-22libsyntax: Introduce the new `assert!` macro; make `assert` no longer a keywordPatrick Walton-5/+0
2013-03-22libsyntax: Stop parsing `pure` and `static`Patrick Walton-0/+10
2013-03-22librustc: Remove `pure` from libsyntax and librustc.Patrick Walton-1/+1
2013-03-22syntax: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-21libsyntax: Remove `@const` from the languagePatrick Walton-0/+5
2013-03-18libsyntax: Stop parsing old lifetimes, except for the ones on data type ↵Patrick Walton-0/+6
declarations.
2013-03-13librustc: Remove implicit self from the language, except for old-style drop ↵Patrick Walton-0/+6
blocks.
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-0/+5
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-11libsyntax: Stop parsing newtype enumsPatrick Walton-0/+5
2013-03-11libsyntax: Stop parsing bare functions in preparation for switching them overPatrick Walton-0/+5
2013-03-09Remove @ast::Region and replace with @ast::Lifetime.Niko Matsakis-0/+6
Modify pretty-printer to emit lifetimes and fix a few minor parser bugs that this uncovered.
2013-03-07librustc: Stop parsing `assert`.Patrick Walton-0/+5
2013-03-07librustc: Remove record patterns from the compilerPatrick Walton-0/+5
2013-03-07libsyntax: Stop parsing structural record typesPatrick Walton-0/+5
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-03-03libsyntax: add &self to parser methodsErick Tryzelaar-9/+9
2013-02-27Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-1/+22
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-1/+8
2013-02-27libsyntax: Forbid mutable vectors. rs=demutingPatrick Walton-0/+7
2013-02-27libsyntax: Forbid `~mut` and `~const`. rs=demutingPatrick Walton-1/+1
2013-02-26libsyntax: Stop parsing `~mut`Patrick Walton-0/+7
2013-02-25libsyntax: add some explicit copiesErick Tryzelaar-1/+1