summary refs log tree commit diff
path: root/src/rustc/util/common.rs
AgeCommit message (Collapse)AuthorLines
2012-10-11Remove obsolete FIXMETim Chevalier-2/+0
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-11Make moves explicit in rustcTim Chevalier-1/+1
2012-09-10Convert std::map to camel caseBrian Anderson-2/+2
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-1/+1
2012-09-07Don't check impl ty params for equality with trait ty paramsTim Chevalier-0/+5
This was too restrictive. We need to check the number of ty params, and that the bounds are equal, but otherwise require_same_types does the job. Closes #2611
2012-09-06Remove struct ctorsBrian Anderson-1/+6
2012-09-04Remove 'with'Brian Anderson-1/+1
2012-09-04rustc: "import" -> "use"Patrick Walton-6/+6
2012-08-26Camel case the option typeBrian Anderson-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-4/+4
2012-08-22intern identifiersPaul Stansifer-1/+3
2012-08-17Remove the class keywordBrian Anderson-1/+1
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-2/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-4/+4
2012-08-05Switch alts to use arrowsBrian Anderson-9/+19
2012-08-01Convert ret to returnBrian Anderson-5/+5
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-4/+4
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-2/+2
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-1/+1
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-5/+5
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-2/+2
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-3/+3
2012-06-22Change resources to classes in libstd and rustcTim Chevalier-2/+4
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-2/+2
2012-06-20Don't consider loops to be breaking if they contain inner loops that breakTim Chevalier-9/+17
Closes #2642
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+1
2012-06-14Refactor; annotate a FIXMETim Chevalier-25/+17
2012-06-13Box AST identsBrian Anderson-1/+1
2012-06-08Get rid of little-used logging fns in util::common. Closes #2553.Lindsey Kuper-35/+0
Also got rid of a bunch of commented-out logging statements and generally cleaned up the logging situation, mostly in typestate.
2012-05-23rustc: Move new_def_hash to ast_utilBrian Anderson-17/+0
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-2/+2
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-1/+1
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-05utilities for indented logsNiko Matsakis-0/+18
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-4/+4
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-2/+2
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-1/+1
Instead of using the new_ prefix just name them after their type
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-10In typestate, consider infinite loops w/ conts to be infiniteTim Chevalier-0/+16
If a loop { } contains a cont, that doesn't affect whether the entire loop diverges. Only breaks affect that. Fix that in typestate.
2012-03-10core: Remove the nearly empty math moduleBrian Anderson-1/+0
This mod only had two functions, all of whose users have been changed to use the uint module.
2012-03-08Rename last to last_opt, last_unsafe to lastTim Chevalier-1/+3
As per discussion on IRC. I am about to file an RFC for further discussion about the more general issue of whether to enforce invariants through types, typestate, or dynamic checks, but for now, removing the misleading name "last_unsafe".
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+103