- 18 1月, 2015 1 次提交
-
-
由 Seo Sanghyeon 提交于
-
- 16 1月, 2015 1 次提交
-
-
由 Eduard Burtescu 提交于
-
- 13 1月, 2015 4 次提交
-
-
由 Ms2ger 提交于
Using a closure unnecessarily obfuscates the code.
-
由 Tom Jakubowski 提交于
Fix #20299
-
由 Tom Jakubowski 提交于
-
由 Tom Jakubowski 提交于
Projection predicates on re-exports, for the time being, are rendered as equality predicates because that's easier. It would be nice to fix this in the future. Some gymnastics were needed to remove redundant bounds from the `types` and `lifetimes` fields, remove implicit `Sized` bounds, and re-create `?Sized` bounds. Fix #20203, fix #20924, fix #20911, fix #20534
-
- 09 1月, 2015 1 次提交
-
-
由 Huon Wilson 提交于
-
- 08 1月, 2015 3 次提交
-
-
由 Alex Crichton 提交于
-
由 Tom Jakubowski 提交于
e.g. `Foo<Output=A>` This does not work cross-crate unfortunately. Part of #20646
-
由 Jorge Aparicio 提交于
-
- 07 1月, 2015 3 次提交
-
-
由 Sean McArthur 提交于
fmt::Show is for debugging, and can and should be implemented for all public types. This trait is used with `{:?}` syntax. There still exists #[derive(Show)]. fmt::String is for types that faithfully be represented as a String. Because of this, there is no way to derive fmt::String, all implementations must be purposeful. It is used by the default format syntax, `{}`. This will break most instances of `{}`, since that now requires the type to impl fmt::String. In most cases, replacing `{}` with `{:?}` is the correct fix. Types that were being printed specifically for users should receive a fmt::String implementation to fix this. Part of #20013 [breaking-change]
-
由 Nick Cameron 提交于
-
由 Corey Richardson 提交于
-
- 06 1月, 2015 2 次提交
-
-
由 Jorge Aparicio 提交于
-
由 Jorge Aparicio 提交于
-
- 05 1月, 2015 2 次提交
-
-
由 Huon Wilson 提交于
This implements RFC 179 by making the pattern `&<pat>` require matching against a variable of type `&T`, and introducing the pattern `&mut <pat>` which only works with variables of type `&mut T`. The pattern `&mut x` currently parses as `&(mut x)` i.e. a pattern match through a `&T` or a `&mut T` that binds the variable `x` to have type `T` and to be mutable. This should be rewritten as follows, for example, for &mut x in slice.iter() { becomes for &x in slice.iter() { let mut x = x; Due to this, this is a [breaking-change] Closes #20496.
-
由 Huon Wilson 提交于
Imports may need to be updated so this is a [breaking-change]
-
- 04 1月, 2015 3 次提交
-
-
由 Brendan Zabarauskas 提交于
-
由 Jorge Aparicio 提交于
-
由 Jorge Aparicio 提交于
-
- 01 1月, 2015 1 次提交
-
-
由 Jorge Aparicio 提交于
-
- 31 12月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 30 12月, 2014 4 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
1. Produced more unique types than is necessary. This increases memory consumption. 2. Linking the type parameter to its definition *seems* like a good idea, but it encourages reliance on the bounds listing. 3. It made pretty-printing harder and in particular was causing bad error messages when errors occurred before the `TypeParameterDef` entries were fully stored.
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
- 29 12月, 2014 2 次提交
-
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
This current inflates memory use more than 3 times.
-
- 26 12月, 2014 1 次提交
-
-
由 Nick Cameron 提交于
-
- 25 12月, 2014 3 次提交
-
-
由 Tom Jakubowski 提交于
Fix #19909
-
由 Tom Jakubowski 提交于
This unfortunately leaves sugaring Fn/FnMut/FnOnce on cross-crate re-exports for future work. cc #19909
-
由 Tom Jakubowski 提交于
Fix #19915
-
- 24 12月, 2014 1 次提交
-
-
由 Jared Roesch 提交于
Adds support for all variants of ast::WherePredicate in clean/mod.rs. Fixes #20048, but will need modification when EqualityPredicates are fully implemented in #20041.
-
- 23 12月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 22 12月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This commit completes the deprecation story for the in-tree serialization library. The compiler will now emit a warning whenever it encounters `deriving(Encodable)` or `deriving(Decodable)`, and the library itself is now marked `#[unstable]` for when feature staging is enabled. All users of serialization can migrate to the `rustc-serialize` crate on crates.io which provides the exact same interface as the libserialize library in-tree. The new deriving modes are named `RustcEncodable` and `RustcDecodable` and require `extern crate "rustc-serialize" as rustc_serialize` at the crate root in order to expand correctly. To migrate all crates, add the following to your `Cargo.toml`: [dependencies] rustc-serialize = "0.1.1" And then add the following to your crate root: extern crate "rustc-serialize" as rustc_serialize; Finally, rename `Encodable` and `Decodable` deriving modes to `RustcEncodable` and `RustcDecodable`. [breaking-change]
-
- 20 12月, 2014 1 次提交
-
-
由 Jared Roesch 提交于
Implement support in the parser for generalized where clauses, as well as the conversion of ast::WherePredicates to ty::Predicate in `collect.rs`.
-
- 19 12月, 2014 4 次提交
-
-
由 Jorge Aparicio 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
Centralize on using `Binder` to introduce new binding levels, rather than having FnSig carry an implicit binding level. This means that we be more typesafe in general, since things that instantiate bound regions can drop the Binder to reflect that.
-
由 Niko Matsakis 提交于
-