- 13 8月, 2016 40 次提交
-
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Default to either `!` or `()` depending on whether feature(never_type) is on or not.
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Split Ty::is_empty method into is_never and is_uninhabited
-
由 Andrew Cann 提交于
Mainly, remove mk_empty() method and replace with tcx.types.empty
-
由 Andrew Cann 提交于
Adds the `bang_type` feature gate. `!` in a non-return-type position now relies on that feature.
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
These tests check for the old error messages "`return` in a function declared as diverging" and "computation may converge in a function declared as diverging". The first of these is now invalid as `return` is permitted in functions that return `!`. The second of these is subsumed by the "mismatched types" error.
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Replace FnOutput with Ty Replace FnConverging(ty) with ty Purge FnDiverging, FunctionRetTy::NoReturn and FunctionRetTy::None
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Parse -> ! as FnConverging(!) Add AdjustEmptyToAny coercion to all ! expressions Some fixes
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Optimiize ExprKind::EmptyToAny expressions applied to function calls.
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
-
由 Andrew Cann 提交于
Add `TyKind::Empty` and fix resulting build errors.
-
由 bors 提交于
[MIR] Add explicit SetDiscriminant StatementKind for deaggregating enums cc #35186 To deaggregate enums, we need to be able to explicitly set the discriminant. This PR implements a new StatementKind that does that. I think some of the places that have `panics!` now could maybe do something smarter.
-
由 bors 提交于
Implement RFC 1506 "Clarify the relationships between various kinds of structs and variants" cc https://github.com/rust-lang/rust/issues/35626
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
Hard errors are turned into feature gates
-