about summary refs log tree commit diff
path: root/src/libsyntax/ext/quote.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-4/+4
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-2/+2
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-11auto merge of #6389 : sonwow/rust/issue-3356, r=bstriebors-2/+2
Fix for #3356
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-1/+1
2013-05-10renamed vec::from_slice to vec::to_ownedYoungsoo Son-1/+1
2013-05-10auto merge of #6356 : dotdash/rust/strinterner, r=pcwaltonbors-18/+18
&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-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-18/+18
&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-09Fix typosSean Moon-1/+1
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-04-27only use #[no_core] in libcoreDaniel Micay-3/+0
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-3/+3
2013-03-27syntax: pass some values around by referenceErick Tryzelaar-4/+4
2013-03-27syntax: Add new values that can be used with the quasiquoterErick Tryzelaar-2/+157
2013-03-26Rip out old code that still structured method calls as aNiko Matsakis-37/+31
expr_call(expr_field(...)) rather than an expr_method_call. There is probably more such code in trans that should be removed.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-0/+6
notation. rs=delifetiming
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-36/+36
2013-03-04Remove unused imports throughout src/Alex Crichton-3/+0
2013-03-03libsyntax: add &self to extensionsErick Tryzelaar-8/+8
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-3/+5
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-3/+5
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-25/+25
2013-02-27Introduce lifetime declarations into the lists of type parameters.Niko Matsakis-25/+25
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-26libsyntax: remove vecs_implicitly_copyable from the syntax extensionsErick Tryzelaar-4/+4
2013-02-25libsyntax: convert visit to pass ty_params by referenceErick Tryzelaar-9/+13
2013-02-22libsyntax: De-mut the parser. rs=demutingPatrick Walton-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-16/+16
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-4/+4
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-4/+4
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-1/+1
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-23renaming to adhere to conventionsJohn Clements-12/+12
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-2/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-12/+23
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-2/+2
2012-12-12syntax: remove most code handling old-style syntax extensions.Graydon Hoare-1/+0
2012-12-07syntax: Permit splicing anything into a quote that implements ToTokens.Graydon Hoare-7/+190
2012-12-07syntax: fix quote_type! to quote_ty!Graydon Hoare-4/+4
2012-12-07syntax: point quote tokens at the site of quote-using-extension invocation.Graydon Hoare-79/+82
2012-12-07syntax: fix the accidental binding of interner state between parse and quote.Graydon Hoare-10/+6
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-8/+8
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-20syntax: switch tt quoter to emit ~[tt], not tt.Graydon Hoare-28/+33
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-5/+16
Conflicts: src/libsyntax/ext/source_util.rs
2012-11-16syntax: rename quote! to quote_tokens!, add quote_{expr,type,item,pat,stmt}!Graydon Hoare-26/+107
r=brson, Close #3976.
2012-11-13rustc: add new token-tree based quasiquoter.Graydon Hoare-0/+307