- 27 3月, 2021 2 次提交
-
-
由 Simon Jakobi 提交于
Closes #56445.
-
由 Ömer Sinan Ağacan 提交于
When the character next to `{}` is "shifted" (when mapping a byte index in the format string to span) we should avoid shifting the span end index, so first map the index of `}` to span, then bump the span, instead of first mapping the next byte index to a span (which causes bumping the end span too much). Regression test added. Fixes #83344
-
- 26 3月, 2021 6 次提交
-
-
由 Michael Woerister 提交于
-
由 Ömer Sinan Ağacan 提交于
Fixes #83046 The program fn main() { println!("{:?}", '"'); println!("{:?}", "'"); } would previously print '\"' "\'" With this patch it now prints: '"' "'"
-
由 Aaron Hill 提交于
-
由 Amanieu d'Antras 提交于
-
由 Aaron Hill 提交于
Fixes #83469 We need to return an `Annotatable::Stmt` if we were passed an `Annotatable::Stmt`
-
由 Jack Huey 提交于
-
- 25 3月, 2021 6 次提交
-
-
由 Amanieu d'Antras 提交于
-
由 Jack Huey 提交于
This reverts commit 22ae20733515d710c1134600bc1e29cdd76f6b9b.
-
由 Aaron Hill 提交于
Fixes #80691 When we evaluate a trait predicate, we convert an `EvaluatedToOk` result to `EvaluatedToOkModuloRegions` if we erased any regions. We cache the result under a region-erased 'freshened' predicate, so `EvaluatedToOk` may not be correct for other predicates that have the same cache key.
-
由 Erik Desjardins 提交于
-
由 Nixon Enraght-Moony 提交于
Closes #80664
-
- 24 3月, 2021 10 次提交
-
-
由 Guillaume Gomez 提交于
-
由 kadmin 提交于
-
由 kadmin 提交于
-
由 kadmin 提交于
A bunch of nits fixed, and a new test for pretty printing the AST.
-
由 kadmin 提交于
-
由 kadmin 提交于
-
由 lcnr 提交于
-
由 varkor 提交于
-
由 kadmin 提交于
This currently creates a field which is always false on GenericParamDefKind for future use when consts are permitted to have defaults Update const_generics:default locations Previously just ignored them, now actually do something about them. Fix using type check instead of value Add parsing This adds all the necessary changes to lower const-generics defaults from parsing. Change P<Expr> to AnonConst This matches the arguments passed to instantiations of const generics, and makes it specific to just anonymous constants. Attempt to fix lowering bugs
-
由 Guillaume Gomez 提交于
-
- 23 3月, 2021 8 次提交
-
-
由 Camelid 提交于
-
由 Jubilee Young 提交于
This commit removes the previous mechanism of differentiating between "Debug" and "Display" formattings for the sign of -0 so as to comply with the IEEE 754 standard's requirements on external character sequences preserving various attributes of a floating point representation. In addition, numerous tests are fixed.
-
由 Erik Desjardins 提交于
-
由 Guillaume Gomez 提交于
-
由 hyd-dev 提交于
-
由 Camille GILLOT 提交于
-
由 Josh Stone 提交于
-
由 mark 提交于
-
- 22 3月, 2021 8 次提交
-
-
由 Aman Arora 提交于
In the analysis use `resolve_vars_if_possible` instead of `fully_resolve`, because we might not have performed regionck yet. Fixes: #83176
-
由 Camelid 提交于
These tests were added to master after I made my changes.
-
由 Camelid 提交于
* It is called `source` in rustc and the rest of rustdoc * It is not a span, rather it is the source of the import
-
由 The8472 提交于
-
由 Camelid 提交于
-
由 Nikita Popov 提交于
This saves us both the Freeze/Unpin queries, and avoids placing noalias attributes, which have a compile-time impact on LLVM even in optnone builds (due to always_inline functions).
-
由 The8472 提交于
-
由 Nikita Popov 提交于
We don't have any known noalias bugs for LLVM 12 ... yet.
-