- 05 1月, 2015 1 次提交
-
-
由 Niko Matsakis 提交于
all that stuff twice. Also, code reads so much nicer.
-
- 04 1月, 2015 1 次提交
-
-
由 Jorge Aparicio 提交于
-
- 31 12月, 2014 1 次提交
-
-
由 Aaron Turon 提交于
-
- 30 12月, 2014 10 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 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 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
Rename `Polytype` to `TypeScheme` to differentiate type schemes (early bound) from higher-ranked things (late-bound), which also use the `Poly` prefix.
-
- 29 12月, 2014 4 次提交
-
-
由 Huon Wilson 提交于
This makes sty only 32 bytes on machines with 64-bit pointers.
-
由 Huon Wilson 提交于
This cuts the ty_bare_fn variant to 48 bytes rather than 56. There doesn't seem to be a noticable memory usage decrease from this.
-
由 Huon Wilson 提交于
This current inflates memory use more than 3 times.
-
由 crhino 提交于
Fixes #19707.
-
- 26 12月, 2014 1 次提交
-
-
由 Nick Cameron 提交于
Includes a bit of refactoring to store `?` unbounds as bounds with a modifier, rather than in their own world, in the AST at least.
-
- 23 12月, 2014 2 次提交
-
-
由 Chris Morgan 提交于
There ain’t an RFC 248, while 438 looks to be what is being referred to: https://github.com/rust-lang/rfcs/blob/master/text/0438-precedence-of-plus.md
-
由 Niko Matsakis 提交于
type of a fn item or a fn pointer, which are now differentiated. Introduce coercion from fn item to fn pointer.
-
- 22 12月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
-
- 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 3 次提交
-
-
由 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 提交于
-
- 16 12月, 2014 2 次提交
-
-
由 Nick Cameron 提交于
-
由 Nick Cameron 提交于
Closes #18433
-
- 15 12月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 14 12月, 2014 3 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
language. Recommend `move||` instead.
-
由 Niko Matsakis 提交于
with the fn traits
-
- 13 12月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
in most cases, just the error message changed, but in some cases we are reporting new errors that OUGHT to have been reported before but we're overlooked (mostly involving the `'static` bound on `Send`).
-
- 12 12月, 2014 3 次提交
-
-
由 Nick Cameron 提交于
-
由 Nick Cameron 提交于
-
由 Nick Cameron 提交于
-
- 11 12月, 2014 1 次提交
-
-
由 Niko Matsakis 提交于
Fix two bugs in HRTB: 1. Categorize early-vs-late bindings on impls when constructing generics, so that we don't add unnecessary region parameters. 2. Correct the DeBruijn indices when substituting the self type into the method signature. Previously, the DeBruijn index for the self type was not being adjusted to account for the fn binder. This mean that when late-bound regions were instantiated, you sometimes wind up with two distinct lifetimes. Fixes #19537.
-
- 06 12月, 2014 1 次提交
-
-
由 Huon Wilson 提交于
This means that `Fn(&A) -> (&B, &C)` is equivalent to `for<'a> Fn(&'a A) -> (&'a B, &'a C)` similar to the lifetime elision of lower-case `fn` in types and declarations. Closes #18992.
-
- 04 12月, 2014 3 次提交
-
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
down on its exports. Remove some dead code that is revealed.
-
由 Niko Matsakis 提交于
-