- 27 3月, 2021 4 次提交
-
-
由 Simon Jakobi 提交于
Closes #56445.
-
由 Jon Jensen 提交于
-
由 Ö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
-
由 Eric Huss 提交于
-
- 26 3月, 2021 7 次提交
-
-
由 12101111 提交于
-
由 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 13 次提交
-
-
由 Amanieu d'Antras 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 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
-
由 Nixon Enraght-Moony 提交于
-
由 Mark Rousskov 提交于
-
- 24 3月, 2021 15 次提交
-
-
由 Guillaume Gomez 提交于
-
由 kadmin 提交于
-
由 Camelid 提交于
The previous changes mean that we can now remove this `Option`.
-
由 Camelid 提交于
I'm wondering if it was originally there so that we could `take` the module which enables `after_krate` to take an `&Crate`. However, the two impls of `after_krate` only use `Crate.name`, so we can pass just the name instead.
-
由 Camelid 提交于
Co-authored-by: NJoshua Nelson <joshua@yottadb.com>
-
由 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 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
- 23 3月, 2021 1 次提交
-
-
由 r00ster91 提交于
-