- 24 11月, 2014 1 次提交
-
-
由 Tom Jakubowski 提交于
-
- 23 11月, 2014 1 次提交
-
-
由 P1start 提交于
-
- 22 11月, 2014 1 次提交
-
-
由 Brian Anderson 提交于
[breaking-change]
-
- 19 11月, 2014 3 次提交
-
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
- 18 11月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
Move trans, back, driver, and back into a new crate, rustc_trans. Reduces memory usage significantly and opens opportunities for more parallel compilation.
-
- 17 11月, 2014 1 次提交
-
-
由 Steven Fackler 提交于
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
-
- 16 11月, 2014 2 次提交
-
-
由 Jakub Bukaj 提交于
[breaking-change] This will break any uses of macros that assumed () being a valid literal.
-
由 Steven Fackler 提交于
Struct variant field visibility is now inherited. Remove `pub` keywords from declarations. Closes #18641 [breaking-change]
-
- 08 11月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 07 11月, 2014 1 次提交
-
-
由 Alexis Beingessner 提交于
-
- 06 11月, 2014 2 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
Support parenthesized paths `Foo(A,B) -> C` that expand to `Foo<(A,B),C>`. These paths also bind anonymous regions (or will, once HRTB is fully working). Fixes #18423.
-
- 04 11月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 01 11月, 2014 1 次提交
-
-
由 Nick Cameron 提交于
-
- 29 10月, 2014 2 次提交
-
-
由 Steve Klabnik 提交于
https://github.com/rust-lang/rfcs/pull/221 The current terminology of "task failure" often causes problems when writing or speaking about code. You often want to talk about the possibility of an operation that returns a Result "failing", but cannot because of the ambiguity with task failure. Instead, you have to speak of "the failing case" or "when the operation does not succeed" or other circumlocutions. Likewise, we use a "Failure" header in rustdoc to describe when operations may fail the task, but it would often be helpful to separate out a section describing the "Err-producing" case. We have been steadily moving away from task failure and toward Result as an error-handling mechanism, so we should optimize our terminology accordingly: Result-producing functions should be easy to describe. To update your code, rename any call to `fail!` to `panic!` instead. Assuming you have not created your own macro named `panic!`, this will work on UNIX based systems: grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g' You can of course also do this by hand. [breaking-change]
-
由 Jakub Bukaj 提交于
We now instead use a fresh variable for expressions that diverge.
-
- 24 10月, 2014 1 次提交
-
-
由 P1start 提交于
Closes #17792.
-
- 23 10月, 2014 1 次提交
-
-
由 Jonathan S 提交于
-
- 16 10月, 2014 1 次提交
-
-
由 Luqman Aden 提交于
-
- 10 10月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
At the same time, migrate statics to constants.
-
- 07 10月, 2014 1 次提交
-
-
由 Nick Cameron 提交于
-
- 06 10月, 2014 4 次提交
-
-
由 Tom Jakubowski 提交于
Fix #17818
-
由 Tom Jakubowski 提交于
-
由 Tom Jakubowski 提交于
-
由 Tom Jakubowski 提交于
Fix #16518
-
- 03 10月, 2014 1 次提交
-
-
由 Aaron Turon 提交于
This reverts commit 40b9f5de.
-
- 02 10月, 2014 3 次提交
-
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Nick Cameron 提交于
-
- 30 9月, 2014 1 次提交
-
-
由 Michael Kainer 提交于
Fixes that unit-like structs cannot be used if they are reexported and used in another crate. The compiler fails with an ICE, because unit-like structs are exported as DefFn and the expression `UnitStruct` is interpreted as function pointer instead of a call to the constructor. To resolve this ambiguity tuple-like struct constructors are now exported as CtorFn. When `rustc::metadata::decoder` finds a CtorFn it sets a new flag `is_ctor` in DefFn to true. Relevant changes are in `rustc::metadata::{encoder, decoder}` and in `rustc::middle::ty`. Closes #12660 and #16973.
-
- 29 9月, 2014 1 次提交
-
-
由 Tom Jakubowski 提交于
Fix #16546
-
- 24 9月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
-
- 22 9月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
-
- 19 9月, 2014 1 次提交
-
-
由 Nick Cameron 提交于
Change to resolve and update compiler and libs for uses. [breaking-change] Enum variants are now in both the value and type namespaces. This means that if you have a variant with the same name as a type in scope in a module, you will get a name clash and thus an error. The solution is to either rename the type or the variant.
-
- 18 9月, 2014 1 次提交
-
-
由 Patrick Walton 提交于
The implementation essentially desugars during type collection and AST type conversion time into the parameter scheme we have now. Only fully qualified names--e.g. `<T as Foo>::Bar`--are supported.
-
- 17 9月, 2014 2 次提交
-
-
由 P1start 提交于
This is done by adding a new field to the `DefTy` variant of `middle::def::Def`, which also clarifies an error message in the process. Closes #16712.
-
由 Aaron Turon 提交于
-
- 14 9月, 2014 1 次提交
-
-
由 Eduard Burtescu 提交于
-