about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
AgeCommit message (Collapse)AuthorLines
2013-03-11libsyntax: Remove newtype enums from libsyntax. rs=deenumPatrick Walton-2/+2
2013-03-08syntax: Remove uses of DVecAlex Crichton-5/+4
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-6/+6
2013-03-07libsyntax: Stop parsing structural record typesPatrick Walton-8/+0
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-03-03libsyntax: deny deprecated_self in libsyntaxErick Tryzelaar-3/+7
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-15/+15
2013-02-22libsyntax: Remove all mutable fields from libsyntax. rs=demutingPatrick Walton-3/+3
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-2/+7
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-2/+2
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-15/+15
slipped through. r=tjc
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-2/+2
2013-02-13auto merge of #4922 : jbclements/rust/add-deriving-eq-to-asts, r=catamorphismbors-0/+1
r? Apply deriving_eq to the data structures in ast.rs, and get rid of the custom definitions of eq that were everywhere. resulting ast.rs is about 400 lines shorter. Also: add a few test cases and a bunch of comments. Also: change ast_ty_to_ty_cache to use node ids rather than ast::ty's. I believe this was a suggestion related to my changes, and it appears to pass all tests. Also: tiny doc fix, remove references to crate keywords.
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-13deriving-eq all over astJohn Clements-0/+1
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+2
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-31test cases, cleanupJohn Clements-28/+102
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-3/+3
2013-01-30librustc: Change `self` as a type to `Self` everywhere. r=brsonPatrick Walton-1/+1
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-15/+15
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-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-8/+10
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
2013-01-08Implement GLB algorithm. (Issue #2263)Niko Matsakis-0/+4
r=brson
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-1/+8
contain at least two components. r=graydon
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-9/+6
2012-12-09Remove transitional codeBrian Anderson-18/+0
2012-12-05Convert Num to explicit selfBrian Anderson-39/+35
2012-12-04librustc: Long lines. rs=rustbotPatrick Walton-1/+1
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-4/+4
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30libs: Remove transitionary material on iter_bytes, add workcache to build.Graydon Hoare-17/+0
2012-11-28Merge remote-tracking branch 'brson/companion' into incomingBrian Anderson-46/+0
Conflicts: src/compiletest/compiletest.rs src/libcargo/cargo.rs src/libcore/core.rs src/librustc/rustc.rs src/librustdoc/rustdoc.rc
2012-11-28Register snapshotsBrian Anderson-46/+0
2012-11-28librustc: Add explicit self to IterBytes. r=nmatsakisPatrick Walton-0/+17
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-6/+48
2012-11-16Remove unused MultiByteChar.sum field from codemapBrian Anderson-10/+0
2012-11-16Add some docs to codemapBrian Anderson-13/+48
2012-11-16Remove incorrect comment from codemapBrian Anderson-2/+0
2012-11-16Remove unused types from codemapBrian Anderson-15/+0
2012-11-16Stop tracking CodeMap offsets in the parse session. Big simplificationBrian Anderson-26/+17
2012-11-16Stop storing char positions in CodeMapBrian Anderson-15/+15
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-39/+106
2012-11-15Remove CodeMap.lookup_byte_posBrian Anderson-5/+0
2012-11-15Convert CodeMap and FileMap to use &self instead of @selfBrian Anderson-17/+17
2012-11-15Add some comments to codemap and lexerBrian Anderson-0/+5
2012-11-15Refactor the lexer to use FilePos typesBrian Anderson-5/+14
2012-11-14Create CodeMap.add_filemapBrian Anderson-0/+4