- 28 2月, 2017 1 次提交
-
-
由 Simonas Kazlauskas 提交于
Replace it with ConstUsize instead, which is more appropriate; we are not using the rest of the TypedConstVal anyway
-
- 26 2月, 2017 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 25 2月, 2017 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 24 2月, 2017 1 次提交
-
-
由 est31 提交于
-
- 19 2月, 2017 1 次提交
-
-
由 Taylor Cramer 提交于
-
- 18 2月, 2017 1 次提交
-
-
由 Taylor Cramer 提交于
-
- 28 1月, 2017 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 26 1月, 2017 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 25 1月, 2017 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
Fixes #36082.
-
- 16 1月, 2017 1 次提交
-
-
由 Scott Olson 提交于
This is a clearer name since they represent [a, b, c] array literals.
-
- 07 1月, 2017 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 28 12月, 2016 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 07 12月, 2016 1 次提交
-
-
- 06 12月, 2016 1 次提交
-
-
由 Mark-Simulacrum 提交于
-
- 30 11月, 2016 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 29 11月, 2016 1 次提交
-
-
由 Florian Diebold 提交于
-
- 28 11月, 2016 2 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
- 22 11月, 2016 1 次提交
-
-
由 Geoffry Song 提交于
This implements RFC 1624, tracking issue #37339. - `FnCtxt` (in typeck) gets a stack of `LoopCtxt`s, which store the currently deduced type of that loop, the desired type, and a list of break expressions currently seen. `loop` loops get a fresh type variable as their initial type (this logic is stolen from that for arrays). `while` loops get `()`. - `break {expr}` looks up the broken loop, and unifies the type of `expr` with the type of the loop. - `break` with no expr unifies the loop's type with `()`. - When building MIR, `loop` loops no longer construct a `()` value at termination of the loop; rather, the `break` expression assigns the result of the loop. `while` loops are unchanged. - `break` respects contexts in which expressions may not end with braced blocks. That is, `while break { break-value } { while-body }` is illegal; this preserves backwards compatibility. - The RFC did not make it clear, but I chose to make `break ()` inside of a `while` loop illegal, just in case we wanted to do anything with that design space in the future. This is my first time dealing with this part of rustc so I'm sure there's plenty of problems to pick on here ^_^
-
- 21 11月, 2016 1 次提交
-
-
由 Jeffrey Seyfried 提交于
-
- 13 11月, 2016 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
This moves closures to the (DefId, Substs) scheme like all other items, and saves a word from the size of TyS now that Substs is 2 words.
-
- 02 11月, 2016 2 次提交
-
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
- 28 10月, 2016 1 次提交
-
-
由 Eduard Burtescu 提交于
-
- 27 10月, 2016 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
-
- 05 10月, 2016 2 次提交
-
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
- 04 10月, 2016 1 次提交
-
-
由 Ariel Ben-Yehuda 提交于
that made no sense (see test), and was incompatible with borrowck. Fixes #36936.
-
- 29 9月, 2016 1 次提交
-
-
由 Jonas Schievink 提交于
-
- 21 9月, 2016 2 次提交
-
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
- 09 9月, 2016 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 04 9月, 2016 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 03 9月, 2016 2 次提交
-
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
- 27 8月, 2016 1 次提交
-
-
由 Eduard Burtescu 提交于
-
- 13 8月, 2016 4 次提交
-
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Split Ty::is_empty method into is_never and is_uninhabited
-
由 Andrew Cann 提交于
Replace FnOutput with Ty Replace FnConverging(ty) with ty Purge FnDiverging, FunctionRetTy::NoReturn and FunctionRetTy::None
-
由 Andrew Cann 提交于
-