<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser/expr.rs, branch 1.64.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.64.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.64.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-08-15T07:05:24+00:00</updated>
<entry>
<title>Revert let_chains stabilization</title>
<updated>2022-08-15T07:05:24+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-08-14T19:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=11a367a7c0cf5aa556dba91228f0f1fe48727d7a'/>
<id>urn:sha1:11a367a7c0cf5aa556dba91228f0f1fe48727d7a</id>
<content type='text'>
This reverts commit 326646074940222d602f3683d0559088690830f4.

It was discovered that they are not implemented correctly, which
does not make them ready for stabilization.
</content>
</entry>
<entry>
<title>Use expr parse restrictions for let expr parsing</title>
<updated>2022-08-01T01:13:16+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-08-01T01:13:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6be7a87f9ccc4ead6887d2cc7231f44df3673681'/>
<id>urn:sha1:6be7a87f9ccc4ead6887d2cc7231f44df3673681</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dont call type ascription 'cast'</title>
<updated>2022-07-29T07:02:52+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-07-29T07:01:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7cdd937bb821881f82ee367757cc45ad74e8698b'/>
<id>urn:sha1:7cdd937bb821881f82ee367757cc45ad74e8698b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove let-chain close brace check.</title>
<updated>2022-07-25T18:19:29+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2022-07-25T18:19:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ce28707497143f3370b11ee9b3565fb642a99fc'/>
<id>urn:sha1:2ce28707497143f3370b11ee9b3565fb642a99fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize `let_chains`</title>
<updated>2022-07-16T23:17:58+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2022-07-12T18:36:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=326646074940222d602f3683d0559088690830f4'/>
<id>urn:sha1:326646074940222d602f3683d0559088690830f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillot</title>
<updated>2022-07-14T08:44:21+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-07-14T08:44:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e5a86d7358520477b816e118200fc7dc664b3f6e'/>
<id>urn:sha1:e5a86d7358520477b816e118200fc7dc664b3f6e</id>
<content type='text'>
Implement `for&lt;&gt;` lifetime binder for closures

This PR implements RFC 3216 ([TI](https://github.com/rust-lang/rust/issues/97362)) and allows code like the following:

```rust
let _f = for&lt;'a, 'b&gt; |a: &amp;'a A, b: &amp;'b B| -&gt; &amp;'b C { b.c(a) };
//       ^^^^^^^^^^^--- new!
```

cc ``@Aaron1011`` ``@cjgillot``
</content>
</entry>
<entry>
<title>Rollup merge of #99030 - rust-lang:notriddle/field-recovery, r=petrochenkov</title>
<updated>2022-07-13T14:02:35+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-07-13T14:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=980579a5e9f5fcad63ef71f536efec15ccd56511'/>
<id>urn:sha1:980579a5e9f5fcad63ef71f536efec15ccd56511</id>
<content type='text'>
diagnostics: error messages when struct literals fail to parse

If an expression is supplied where a field is expected, the parser can become convinced that it's a shorthand field syntax when it's not.

This PR addresses it by explicitly recording the permitted `:` token immediately after the identifier, and also adds a suggestion to insert the name of the field if it looks like a complex expression.

Fixes #98917
</content>
</entry>
<entry>
<title>Update compiler/rustc_parse/src/parser/expr.rs</title>
<updated>2022-07-12T16:51:20+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-07-12T14:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9fcb9c6648331f372ee58ce4489d3d43a0723c59'/>
<id>urn:sha1:9fcb9c6648331f372ee58ce4489d3d43a0723c59</id>
<content type='text'>
Co-authored-by: Vadim Petrochenkov &lt;vadim.petrochenkov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Parse closure binders</title>
<updated>2022-07-12T12:25:16+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-06-02T16:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ae7b5b8e09da657b62bc849b8bcdf99a1cb210'/>
<id>urn:sha1:40ae7b5b8e09da657b62bc849b8bcdf99a1cb210</id>
<content type='text'>
This is first step in implementing RFC 3216.
- Parse `for&lt;'a&gt;` before closures in ast
  - Error in lowering
- Add `closure_lifetime_binder` feature
</content>
</entry>
<entry>
<title>Fix last let_chains blocker</title>
<updated>2022-07-08T10:25:50+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2022-07-08T10:25:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c3bab2fc9f9eb30c03b5019cb9503fef62e31a5'/>
<id>urn:sha1:1c3bab2fc9f9eb30c03b5019cb9503fef62e31a5</id>
<content type='text'>
</content>
</entry>
</feed>
