- 01 3月, 2018 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 14 2月, 2018 1 次提交
-
-
由 csmoe 提交于
-
- 10 2月, 2018 1 次提交
-
-
由 Gianni Ciccarelli 提交于
-
- 09 2月, 2018 2 次提交
-
-
由 Alex Crichton 提交于
This commit disallows acquiring a function pointer to functions tagged as `#[rustc_args_required_const]`. This is intended to be used as future-proofing for the stdsimd crate to avoid taking a function pointer to any intrinsic which has a hard requirement that one of the arguments is a constant value.
-
由 leonardo.yvens 提交于
This turns out to not be backwards compatible.
-
- 08 2月, 2018 3 次提交
-
-
由 Felix S. Klock II 提交于
Namely, the mutable borrows also carries a flag indicating whether they should support two-phase borrows. This allows us to thread down, from the point of the borrow's introduction, whether the particular adjustment that created it is one that yields two-phase mutable borrows.
-
由 Gianni Ciccarelli 提交于
not skipping any wfchecks on default impls
-
由 Gianni Ciccarelli 提交于
a `default impl` need not include all items from the trait a `default impl` alone does not mean that a type implements the trait
-
- 06 2月, 2018 1 次提交
-
-
由 Zack M. Davis 提交于
Previously, when the type of a method receiver could not be determined, the error message would, potentially confusingly, highlight the span of the entire method call. Resolves #36598, resolves #42234.
-
- 01 2月, 2018 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 29 1月, 2018 6 次提交
-
-
由 John Kåre Alsaker 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
- 28 1月, 2018 8 次提交
-
-
由 leonardo.yvens 提交于
-
由 leonardo.yvens 提交于
Move `check_casts` and `resolve_generator_interiors` to before fallback. Rename `apply_fallback_if_possible` to `fallback_if_possible`. Refactor `select_all_obligations_or_error`.
-
由 leonardo.yvens 提交于
-
由 leonardo.yvens 提交于
-
由 leonardo.yvens 提交于
Put all fallback in `apply_fallback_if_possible`.
-
由 leonardo.yvens 提交于
It had only one caller.
-
由 leonardo.yvens 提交于
This refactoring tries to make numeric fallback easier to reason about. Instead of applying all fallbacks at an arbitrary point in the middle of inference, we apply the fallback only when necessary and only for the variable that requires it, which for numeric fallback turns out to be just casts. The only visible consequence seems to be some error messages where instead of getting `i32` we get `{integer}` because we are less eager about fallback. The bigger goal is to make it easier to integrate user fallbacks into inference, if we ever figure that out.
-
由 leonardo.yvens 提交于
the `or_else` part was dead code.
-
- 27 1月, 2018 1 次提交
-
-
由 David Wood 提交于
-
- 24 1月, 2018 1 次提交
-
-
由 Esteban Küber 提交于
Create the concept of an `StructuredDiagnostic` that is self-contained with enough knowledge of all variables to create a `DiagnosticBuilder`, including different possible versions (one line output and expanded explanations).
-
- 23 1月, 2018 3 次提交
-
-
由 Michael Woerister 提交于
-
由 John Kåre Alsaker 提交于
Adds support for immovable generators. Move checking of invalid borrows across suspension points to borrowck. Fixes #44197, #45259 and #45093.
-
由 Esteban Küber 提交于
-
- 16 1月, 2018 1 次提交
-
-
由 Robin Kruppe 提交于
-
- 08 1月, 2018 1 次提交
-
-
由 Robin Kruppe 提交于
It is also intended for use with unions.
-
- 07 1月, 2018 1 次提交
-
-
由 Isaac van Bakel 提交于
Use of builtin indexing is now only checked after types are fully resolved. Types are not correctly checked in case of autoderefs.
-
- 04 1月, 2018 1 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
- 26 12月, 2017 3 次提交
-
-
由 Bastian Köcher 提交于
-
由 Bastian Köcher 提交于
-
由 Bastian Köcher 提交于
This is the first part of the RFC 1937 that supports new `Termination` trait in the rust `main` function.
-
- 22 12月, 2017 1 次提交
-
-
由 Esteban Küber 提交于
When a parse error occurs on a block, the parser will recover and create a block with the statements collected until that point. Now a flag stating that a recovery has been performed in this block is propagated so that the type checker knows that the type of the block (which will be identified as `()`) shouldn't be checked against the expectation to reduce the amount of irrelevant diagnostic errors shown to the user.
-
- 21 12月, 2017 3 次提交
-
-
由 Jonas Platte 提交于
The Generics now contain one Vec of an enum for the generic parameters, rather than two separate Vec's for lifetime and type parameters. Additionally, places that previously used Vec<LifetimeDef> now use Vec<GenericParam> instead.
-
由 Niko Matsakis 提交于
We now add the suitable `impl Trait` constraints.
-
由 Niko Matsakis 提交于
No functional change.
-