about summary refs log tree commit diff
path: root/src/libsyntax/ext/pipes/pipec.rs
AgeCommit message (Collapse)AuthorLines
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-19/+19
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.
2013-05-08test: Fix tests and the pipe compilerPatrick Walton-4/+5
2013-05-08librustc: Remove mutable fields from the language.Patrick Walton-4/+2
They're still parsed though, to get through bootstrapping.
2013-05-01allow parsing attributes on struct fieldsErick Tryzelaar-1/+2
2013-05-01rustc: remove the rest of dropErick Tryzelaar-1/+0
Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor
2013-04-29test: Fix tests.Patrick Walton-1/+3
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-5/+3
2013-04-27only use #[no_core] in libcoreDaniel Micay-5/+0
2013-04-25Rename vec::mod2 to vec::mod_zipCorey Richardson-2/+2
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-28librustc: Remove common fields and nested enums from the languagePatrick Walton-1/+1
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-20/+20
2013-03-11libsyntax: Remove newtype enums from libsyntax. rs=deenumPatrick Walton-3/+1
2013-03-07test: Fix tests.Patrick Walton-1/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-03-04Remove unused imports throughout src/Alex Crichton-5/+1
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-1/+2
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-1/+2
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-28Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-22/+31
2013-02-27auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵bors-22/+31
r=nikomatsakis Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 r? @graydon
2013-02-27Introduce lifetime declarations into the lists of type parameters.Niko Matsakis-22/+31
Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846
2013-02-27Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-3/+3
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-3/+3
2013-02-26libsyntax: remove vecs_implicitly_copyable from the syntax extensionsErick Tryzelaar-4/+4
2013-02-25libsyntax: add explicit modes where required to copy strs/vecsErick Tryzelaar-3/+2
2013-02-22libsyntax: De-mut the parser. rs=demutingPatrick Walton-14/+11
2013-02-22libsyntax: De-mut the pipe compilerPatrick Walton-12/+17
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-21/+23
2013-02-19libsyntax: make enum variants take refsErick Tryzelaar-15/+12
2013-02-17libsyntax: Long lines.Luqman Aden-2/+4
2013-02-17libsyntax: Explicit-self-ify pipes compiler.Luqman Aden-21/+21
2013-02-17libsyntax: Remove last use of structural records in pipes compiler.Luqman Aden-4/+20
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-4/+3
slipped through. r=tjc
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-16/+16
2013-02-04core/syntax: Staging fixesTim Chevalier-28/+0
2013-02-04syntax: Make the pipe compiler stop generating set_buffer_ callsTim Chevalier-2/+2
2013-02-04core/syntax: Add transitional code for pipesTim Chevalier-0/+28
2013-01-31test cases, cleanupJohn Clements-1/+1
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-6/+6
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-4/+4
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-2/+3
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-24Convert pipes::Buffer into a structErick Tryzelaar-4/+4
2013-01-20Convert many libsyntax records into structsErick Tryzelaar-2/+2
Specifically: ast_map::ctx ast_util::id_range diagnostic::{handler_t,codemap_t} auto_encode::field ext::base::{macro_def,syntax_expander_tt,syntax_expander_tt_item} ext::pipes::proto::next_state
2013-01-20convert the remaining ast record types into structsErick Tryzelaar-5/+10
These are: region,arg,fn_decl,method,_mod,foreign_mod, variant_arg,enum_def_,variant_,trait_ref.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-45/+50
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-10/+3
2012-12-09Remove transitional codeBrian Anderson-109/+0