<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser, branch 1.52.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.52.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.52.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-03-18T02:32:39+00:00</updated>
<entry>
<title>Auto merge of #76447 - pickfire:async-pub, r=estebank</title>
<updated>2021-03-18T02:32:39+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-03-18T02:32:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81c1d7a1506e5f4bcc5f12fb49f3b6e9bb87c605'/>
<id>urn:sha1:81c1d7a1506e5f4bcc5f12fb49f3b6e9bb87c605</id>
<content type='text'>
Detect async visibility wrong order, `async pub`

Partially address #76437.
</content>
</entry>
<entry>
<title>Auto merge of #83188 - petrochenkov:field, r=lcnr</title>
<updated>2021-03-17T16:49:46+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-03-17T16:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4adc21c4fa245994b4936df5b4f7d94ca633c5d'/>
<id>urn:sha1:b4adc21c4fa245994b4936df5b4f7d94ca633c5d</id>
<content type='text'>
ast/hir: Rename field-related structures

I always forget what `ast::Field` and `ast::StructField` mean despite working with AST for long time, so this PR changes the naming to less confusing and more consistent.

- `StructField` -&gt; `FieldDef` ("field definition")
- `Field` -&gt; `ExprField` ("expression field", not "field expression")
- `FieldPat` -&gt; `PatField` ("pattern field", not "field pattern")

Various visiting and other methods working with the fields are renamed correspondingly too.

The second commit reduces the size of `ExprKind` by boxing fields of `ExprKind::Struct` in preparation for https://github.com/rust-lang/rust/pull/80080.
</content>
</entry>
<entry>
<title>Add pub as optional check_front_matter</title>
<updated>2021-03-17T01:04:08+00:00</updated>
<author>
<name>Ivan Tham</name>
<email>pickfire@riseup.net</email>
</author>
<published>2020-12-07T16:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21c157442c1e97745b91b8c3286ceabbc9f7be3f'/>
<id>urn:sha1:21c157442c1e97745b91b8c3286ceabbc9f7be3f</id>
<content type='text'>
async-pub check created a regression for default
</content>
</entry>
<entry>
<title>Detect pub fn attr wrong order like `async pub`</title>
<updated>2021-03-17T01:02:19+00:00</updated>
<author>
<name>Ivan Tham</name>
<email>pickfire@riseup.net</email>
</author>
<published>2020-09-07T14:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9321efd8f7138e99c69d134fda24b7bf9dc0c95b'/>
<id>urn:sha1:9321efd8f7138e99c69d134fda24b7bf9dc0c95b</id>
<content type='text'>
Redirects `const? async? unsafe? pub` to `pub const? async? unsafe?`.

Fix #76437
</content>
</entry>
<entry>
<title>Emit more pretty diagnostics for qualified paths</title>
<updated>2021-03-17T00:57:58+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2021-03-17T00:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d99e68940087c7696a5d4919ba1456d6415fb9b'/>
<id>urn:sha1:2d99e68940087c7696a5d4919ba1456d6415fb9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bad diagnostics for anon params with qualified paths</title>
<updated>2021-03-16T22:45:19+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2021-03-05T05:52:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8240f1a3d3f0ff3e36c19836ea4d783f29752b0b'/>
<id>urn:sha1:8240f1a3d3f0ff3e36c19836ea4d783f29752b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bad diagnostics for anon params with ref</title>
<updated>2021-03-16T22:45:19+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2021-03-04T19:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ea355bc6be34f7c3c1da0342ade39593a7f5e494'/>
<id>urn:sha1:ea355bc6be34f7c3c1da0342ade39593a7f5e494</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ast: Reduce size of `ExprKind` by boxing fields of `ExprKind::Struct`</title>
<updated>2021-03-16T08:41:24+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2021-03-16T00:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1522b39dded68a3c442bed0b0a231020c6e2291'/>
<id>urn:sha1:d1522b39dded68a3c442bed0b0a231020c6e2291</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ast/hir: Rename field-related structures</title>
<updated>2021-03-16T08:41:24+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2021-03-15T21:36:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b25d3ba78118033b3f25b6de7a32e210d113872c'/>
<id>urn:sha1:b25d3ba78118033b3f25b6de7a32e210d113872c</id>
<content type='text'>
StructField -&gt; FieldDef ("field definition")
Field -&gt; ExprField ("expression field", not "field expression")
FieldPat -&gt; PatField ("pattern field", not "field pattern")

Also rename visiting and other methods working on them.
</content>
</entry>
<entry>
<title>Improve the wording for the `can't reassign` error</title>
<updated>2021-03-12T21:06:54+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2021-03-12T20:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0466b6ac6d2af6e9aa6cdcdde18acbf2a5056944'/>
<id>urn:sha1:0466b6ac6d2af6e9aa6cdcdde18acbf2a5056944</id>
<content type='text'>
</content>
</entry>
</feed>
