about summary refs log tree commit diff
path: root/src/rustc/metadata
AgeCommit message (Collapse)AuthorLines
2012-07-25rustc: Introduce a lang_items pass, part of coherence and operator overloading.Patrick Walton-0/+23
This will also help us remove kinds.
2012-07-25Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-2/+2
2012-07-25fix oversight in ty_decode.Niko Matsakis-0/+5
I thought this case would not come up.
2012-07-25avoid capture of bound regions when infering types for closureNiko Matsakis-0/+6
expressions. cc #2981
2012-07-24rustc: Write impl attributes into the metadataPatrick Walton-0/+1
2012-07-24rustc: Don't require that structs have constructorsPatrick Walton-15/+26
2012-07-18rustc: Implement multiple-traits-per-impl for cross-crate stuffPatrick Walton-14/+13
2012-07-18syntax: Parse multiple trait refs in a single implementationPatrick Walton-12/+8
2012-07-18rustc: Encode metadata unconditionally for impls/traits/classes. Closes #2945.Patrick Walton-26/+37
2012-07-18prevent regions from escaping in ifaces; remove &r.T syntaxNiko Matsakis-1/+1
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-0/+28
2012-07-16introduce an owned kind for data that contains no borrowed ptrsNiko Matsakis-0/+2
2012-07-14remove typestate from code, tests, and docsNiko Matsakis-136/+1
2012-07-14Tear out ty_str and ty_vec.Michael Sullivan-4/+0
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-206/+206
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-11/+11
2012-07-13More consistent use of backticks and "expected" in error messages.Lindsey Kuper-1/+1
Got some of the debug messages, here, too. I figure it doesn't hurt to get used to doing this even in places where users won't ever see it.
2012-07-13Refactor how impl self types are storedTim Chevalier-1/+3
In order to avoid a confusing use of the tcache, I added an extra node ID field to trait refs. Now trait refs have a "ref ID" (the one that resolve3 resolves) and an "impl ID" (the one that you look up in the tcache to get the self type). Closes #2434
2012-07-13Front-end support for default impls in traits.Lindsey Kuper-6/+15
2012-07-12Fix the signature on vec::view.Eric Holk-1/+2
Due to limitations in region inference, this has the effect of making vec::view pretty much entirely unusable.
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-14/+14
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-29/+37
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-09rustc: Fix the collision with Tim's changePatrick Walton-1/+12
2012-07-09Tag re-exports differently in metadataTim Chevalier-9/+19
so that the "list metadata" command doesn't print out anything about intrinsics, but other code can see them. Closes #2771
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-2/+2
2012-07-09Fix metadata serialization of foreign functions. Properly take the value of ↵Josh Matthews-1/+2
foreign functions from other crates to fix #1840.
2012-07-09rustc: Switch to the new resolution passPatrick Walton-0/+1
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-1/+0
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-0/+1
2012-07-06Plumbing and parsing for item-position macros.Eric Holk-0/+2
2012-07-05Remove duplicate, un-used copy of astencodeTim Chevalier-940/+0
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-51/+51
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-12/+4
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-14/+14
2012-07-03rustc: Make a note of the fact that each_path doesn't handle path nesting ↵Patrick Walton-0/+3
properly
2012-07-03rustc: Speed up def ID parsing in the metadataPatrick Walton-10/+11
2012-07-03rustc: Avoid a lot of copying in metadata when reading implsPatrick Walton-6/+20
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-7/+7
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-21/+148
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-1/+2
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01Convert to new closure syntaxBrian Anderson-145/+146
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-54/+54
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-1/+2
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-188/+188
2012-06-28Replaced almost all vector+ in rustc (#2719)Eric Holk-35/+47
Didn't update shape because the changes were causing segfaults.
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-32/+33
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-57/+58
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-252/+255
2012-06-25Add class fields to the global indexTim Chevalier-6/+12
Closes #2192
2012-06-24Remove resourcesTim Chevalier-55/+0
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485