- 27 3月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 20 3月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
This starts moving a bunch of privacy checks into the privacy checking phase and out of resolve.
-
- 08 3月, 2013 2 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 05 3月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 03 3月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-
- 15 2月, 2013 1 次提交
-
-
由 Luqman Aden 提交于
-
- 14 2月, 2013 1 次提交
-
-
由 Nick Desaulniers 提交于
-
- 06 2月, 2013 2 次提交
-
-
由 Patrick Walton 提交于
This reverts commit a4250a96. This is not the cause of the nonexhaustive-match failure.
-
由 Graydon Hoare 提交于
This reverts commit 8e643525.
-
- 04 2月, 2013 2 次提交
-
-
由 Daniel Micay 提交于
-
由 Daniel Micay 提交于
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.
-
- 01 2月, 2013 4 次提交
-
-
由 Brian Anderson 提交于
-
由 Nick Desaulniers 提交于
-
由 Nick Desaulniers 提交于
-
由 Niko Matsakis 提交于
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
-
- 31 1月, 2013 3 次提交
-
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
- 30 1月, 2013 2 次提交
-
-
由 Tim Chevalier 提交于
-
由 Patrick Walton 提交于
"Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
-
- 15 1月, 2013 1 次提交
-
-
由 Erick Tryzelaar 提交于
-
- 10 1月, 2013 1 次提交
-
-
由 Niko Matsakis 提交于
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
-
- 09 1月, 2013 3 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc" This reverts commit a8d37af2.
-
由 Patrick Walton 提交于
-
- 05 1月, 2013 1 次提交
-
-
由 Tim Chevalier 提交于
-
- 30 12月, 2012 1 次提交
-
-
由 Patrick Walton 提交于
-
- 28 12月, 2012 1 次提交
-
-
由 Patrick Walton 提交于
librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon
-
- 14 12月, 2012 1 次提交
-
-
由 Brian Anderson 提交于
-
- 06 12月, 2012 1 次提交
-
-
由 Patrick Walton 提交于
librustc: Hook borrow check loan checking up to the moves-based-on-type infrastructure. rs=helps-unbreak-the-build
-
- 04 12月, 2012 1 次提交
-
-
由 Graydon Hoare 提交于
-
- 30 11月, 2012 1 次提交
-
-
由 Patrick Walton 提交于
-
- 21 11月, 2012 2 次提交
-
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
- 15 11月, 2012 1 次提交
-
-
由 Patrick Walton 提交于
librustc: Require the #[derivable] attribute, remove the significance of "impl Foo : Bar;", and allow only a subset of methods in a trait to be derived. r=brson
-
- 04 11月, 2012 1 次提交
-
-
由 Daniel Patterson 提交于
-
- 24 10月, 2012 1 次提交
-
-
由 Patrick Walton 提交于
-
- 20 10月, 2012 1 次提交
-
-
由 Tim Chevalier 提交于
Superficial change, no review.
-
- 13 10月, 2012 1 次提交
-
-
由 Tim Chevalier 提交于
-