about summary refs log tree commit diff
path: root/src/rustc/middle/resolve3.rs
AgeCommit message (Collapse)AuthorLines
2012-08-29Rename resolve3 -> resolve.Graydon Hoare-4611/+0
2012-08-29Allow extern mods to be anonymousTim Chevalier-11/+17
extern mod { f(); } is now allowed, and puts f in the enclosing scope. (Requires a link_name attribute to be really useful...)
2012-08-27Camel case various core constructorsBrian Anderson-11/+11
2012-08-27rustc: make sure to import shr.Erick Tryzelaar-1/+1
2012-08-27rustc: more pattern cleanupErick Tryzelaar-15/+15
2012-08-26Camel case the option typeBrian Anderson-262/+262
2012-08-25Fix more unused variable warningsBrian Anderson-1/+1
2012-08-25rustc: Implement foreign constants.Patrick Walton-25/+30
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-25Add backquotes to error messageTim Chevalier-2/+2
2012-08-25implements issue #2356Vincent Belliard-6/+56
2012-08-24Get rid of the unsafe hacks in resolve3. Closes #3267.Michael Sullivan-12/+9
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-8/+8
2012-08-23More complete fix to #3162 (borrowck bug related to access to rec fields)Niko Matsakis-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-180/+180
2012-08-22intern identifiersPaul Stansifer-246/+190
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-4/+5
2012-08-17rustc: Implement "priv" for simple items.Patrick Walton-60/+124
Inherited privacy doesn't work yet. This probably requires a snapshot since it won't be backwards compatible. Additionally, two errors are printed instead of one. For this reason the test is XFAIL'd.
2012-08-17rustc: Remove all the code dealing with named implementations in resolve3Patrick Walton-227/+33
2012-08-17rustc: Remove the impl mapPatrick Walton-166/+2
2012-08-17rustc: Remove lookup_defs; unused.Patrick Walton-2/+1
2012-08-17rustc: Encode reexports in the metadata and don't have each_path search ↵Patrick Walton-0/+42
tag_paths
2012-08-17Remove the class keywordBrian Anderson-9/+9
2012-08-15rustc: Allow external structs to be constructed. Closes #3012.Patrick Walton-1/+3
Embarrassing.
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-35/+27
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-11/+50
2012-08-15Convert more core types to camel caseBrian Anderson-19/+19
2012-08-13rustc: Enum idents are not in the value namespace. Closes #3186Brian Anderson-2/+4
2012-08-08rustc: Remove some uses of impl_mapBrian Anderson-78/+1
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-4/+4
2012-08-08rustc: Do some plumbing work on nested enumsPatrick Walton-14/+22
2012-08-08Don't add struct names to the value name space if there's no constructorTim Chevalier-8/+16
Closes #3149
2012-08-07rustc: Resolve constructor expressions for variant structsPatrick Walton-10/+27
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-160/+161
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-11/+9
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-1/+1
Require comma separators for all expression types except the plain block
2012-08-06rustc: Implement pattern matching for structsPatrick Walton-9/+29
2012-08-06Shorten lines, fix build breakageTim Chevalier-5/+6
2012-08-06In resolve, forbid duplicate value, type, and module itemsTim Chevalier-37/+145
Closes #3099
2012-08-06make `ref x` bindings produce region ptrs and fix various minor bugsNiko Matsakis-33/+61
we now detect inconsistent modes, binding names, and various other errors. typeck/trans integration is mostly done. borrowck not so much. more tests needed.
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-156/+161
2012-08-06rustc: Implement functional record update for structsPatrick Walton-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-379/+365
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-2/+23
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-8/+4
cc #3071
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-122/+122
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-15/+15
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-166/+166
2012-07-31rustc: Check self types in method lookup; allow required trait methods to ↵Patrick Walton-10/+21
have self types; write self types into metadata