about summary refs log tree commit diff
path: root/src/libsyntax/parse/comments.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-1/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
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-11Warning policeTim Chevalier-6/+5
2013-04-28parser commentsJohn Clements-0/+2
2013-04-27only use #[no_core] in libcoreDaniel Micay-8/+0
2013-04-20syntax: remove unused 'mut' variablesAlex Crichton-1/+1
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-3/+3
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-27derive Eq and Clone impls where applicableAndrew Paseltiner-10/+1
2013-03-26Switched over a bunch of splitting funktions to non-allocating iteratorsMarvin Löbel-2/+6
2013-03-22librustc: Remove `pure` from libsyntax and librustc.Patrick Walton-2/+2
2013-03-21Un-renamed trim and substr functions.Marvin Löbel-5/+5
2013-03-21Switched over substr and trim functions in str to be non-allocating, ↵Marvin Löbel-4/+7
temporary renamed them to better track use-sites
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-5/+5
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-5/+5
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-20syntax: Removing some bad copiesAlex Crichton-2/+2
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-3/+5
2013-03-11Remove uses of logBrian Anderson-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-4/+4
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-26libsyntax: add explicit copiesErick Tryzelaar-5/+5
2013-02-26libsyntax: change token fns to take &TokenErick Tryzelaar-1/+1
2013-02-26libsyntax: change token::to_str to take &TokenErick Tryzelaar-1/+1
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-10/+17
2013-02-19Change functions from taking ~str to taking &strErick Tryzelaar-3/+3
2013-02-14auto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorphismbors-28/+38
This is a natural extension of #4887, and handles the following three cases: ~~~~ a line with only /s //////////////////////////////////////////// a line with only /s followed by whitespace //////////////////////////////////////////// a block comment with only *s between two /s /********************************/ ~~~~
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-13libsyntax: don't parse ////, /***/ as doc commentsKang Seonghoon-28/+38
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-14/+17
2013-01-31test cases, cleanupJohn Clements-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-16/+9
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-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-1/+1
r=nmatsakis
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
2013-01-04Rename option::get_default => get_or_default, get_zero => get_or_zeroTim Chevalier-1/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-4/+15
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-3/+2
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Register snapshotsBrian Anderson-12/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+12
2012-11-16Stop tracking CodeMap offsets in the parse session. Big simplificationBrian Anderson-1/+2
2012-11-16Stop storing char positions in CodeMapBrian Anderson-10/+6
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-6/+6
2012-11-15Refactor the lexer to use FilePos typesBrian Anderson-5/+5
2012-11-14Track character and byte positions together in the parserBrian Anderson-3/+7