summary refs log tree commit diff
path: root/src/libsyntax/util
AgeCommit message (Collapse)AuthorLines
2013-03-22librustc: Remove `pure` from libsyntax and librustc.Patrick Walton-1/+1
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-2/+2
2013-03-20change some uses of fail_unless to assert_eqJohn Clements-41/+17
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-3/+7
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-08syntax: Remove uses of DVecAlex Crichton-4/+3
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-17/+17
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-3/+2
imports
2013-02-22libsyntax: Remove all mutable fields from libsyntax. rs=demutingPatrick Walton-2/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-3/+3
2013-02-19libsyntax: convert interner into a modern structErick Tryzelaar-40/+34
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-1/+1
slipped through. r=tjc
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-1/+1
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-05oldmap: use &K instead of K in find and getPatrick Walton-1/+1
This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure.
2013-02-05Revert "oldmap: use &K instead of K in find and get"Graydon Hoare-1/+1
This reverts commit 8e643525d4e5bca993dada43615916c382a0645b.
2013-02-03oldmap: use &K instead of K in find and getDaniel Micay-1/+1
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-3/+3
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-02-01Fix breakageBrian Anderson-2/+2
2013-01-31test cases, cleanupJohn Clements-0/+24
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-10/+8
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-1/+1
definitions. r=tjc
2013-01-23fix trailing whitepaceJohn Clements-2/+2
2013-01-23cleaning up, adding testsJohn Clements-1/+43
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-5/+5
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-5/+5
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-5/+5
module scope. r=tjc
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-5/+5
2012-10-12Make moves explicit in libsyntaxTim Chevalier-1/+1
2012-09-26Allow hashmaps to infer their typesErick Tryzelaar-1/+1
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-1/+1
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-1/+1
2012-09-10Convert std::map to camel caseBrian Anderson-3/+3
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-5/+5
2012-09-07Migrate std::map to use core::hash::Hash trait. Disable many hokey hashes.Graydon Hoare-13/+12
2012-09-04libsyntax: "import" -> "use"Patrick Walton-3/+3
2012-08-27Camel case various core constructorsBrian Anderson-2/+2
2012-08-26Camel case the option typeBrian Anderson-2/+2
2012-08-22intern identifiersPaul Stansifer-1/+8
2012-08-22pre-intern some fixed names so they can be used as constantsPaul Stansifer-0/+9
2012-08-15Convert more core types to camel caseBrian Anderson-2/+2
2012-08-08Convert impls to new syntaxBrian Anderson-2/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-2/+2
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-4/+4
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-30Work around bug #2935 by unautounboxing.Paul Stansifer-0/+1
2012-07-30Impl-ize interner.Paul Stansifer-20/+26
2012-05-31Make std::map require const keys.Eric Holk-5/+5