summary refs log tree commit diff
path: root/src/rustc/util/common.rs
AgeCommit message (Collapse)AuthorLines
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