<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser/expr.rs, branch 1.70.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.70.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.70.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-04-10T20:02:52+00:00</updated>
<entry>
<title>Fix typos in compiler</title>
<updated>2023-04-10T20:02:52+00:00</updated>
<author>
<name>DaniPopes</name>
<email>57450786+DaniPopes@users.noreply.github.com</email>
</author>
<published>2023-04-10T20:02:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=677357d32bd402ff1096803cb00b52124204af08'/>
<id>urn:sha1:677357d32bd402ff1096803cb00b52124204af08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors</title>
<updated>2023-03-27T16:56:19+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2023-03-27T16:56:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1e8be783f13dfb2f6e7ade995bde66778a5a43d'/>
<id>urn:sha1:b1e8be783f13dfb2f6e7ade995bde66778a5a43d</id>
<content type='text'>
Remove the `NodeId` of `ast::ExprKind::Async`

This is a followup to https://github.com/rust-lang/rust/pull/104833#pullrequestreview-1314537416.

In my original attempt, I was using `LoweringContext::expr`, which was not correct as it creates a fresh `DefId`.
It now uses the correct `DefId` for the wrapping `Expr`, and also makes forwarding `#[track_caller]` attributes more explicit.
</content>
</entry>
<entry>
<title>Refactor `handle_missing_lit`.</title>
<updated>2023-03-20T22:28:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-02-01T05:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93eeb127241928a2c64b0bd8c81d5ed859b864aa'/>
<id>urn:sha1:93eeb127241928a2c64b0bd8c81d5ed859b864aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the `NodeId` of `ast::ExprKind::Async`</title>
<updated>2023-03-19T18:01:31+00:00</updated>
<author>
<name>Arpad Borsos</name>
<email>swatinem@swatinem.de</email>
</author>
<published>2023-01-31T21:13:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912'/>
<id>urn:sha1:c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31</title>
<updated>2023-03-13T10:41:50+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-03-13T10:41:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1b1ed7e18f1fbe5226a96626827c625985f8285'/>
<id>urn:sha1:f1b1ed7e18f1fbe5226a96626827c625985f8285</id>
<content type='text'>
Remove `box_syntax`

r? `@Nilstrieb`

This removes the feature `box_syntax`, which allows the use of `box &lt;expr&gt;` to create a Box, and finalises removing use of the feature from the compiler. `box_patterns` (allowing the use of `box &lt;pat&gt;` in a pattern) is unaffected.
It also removes `ast::ExprKind::Box` - the only way to create a 'box' expression now is with the rustc-internal `#[rustc_box]` attribute.
As a temporary measure to help users move away, `box &lt;expr&gt;` now parses the inner expression, and emits a `MachineApplicable` lint to replace it with `Box::new`

Closes #49733
</content>
</entry>
<entry>
<title>Add recovery for use of removed `box` syntax</title>
<updated>2023-03-12T13:26:37+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2023-02-27T13:22:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b186dfdb70ebfe722975970458c6230841e6911'/>
<id>urn:sha1:8b186dfdb70ebfe722975970458c6230841e6911</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `box_syntax` from AST and use in tools</title>
<updated>2023-03-12T13:19:46+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2023-02-27T13:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0932452fa40178b6f8b93a2bab3b4ead4e2bb560'/>
<id>urn:sha1:0932452fa40178b6f8b93a2bab3b4ead4e2bb560</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Gate const closures even when they appear in macros</title>
<updated>2023-03-11T21:29:28+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-03-11T21:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3159b851a90d3071a97cfb84416f09058c1733a'/>
<id>urn:sha1:c3159b851a90d3071a97cfb84416f09058c1733a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #108715 - chenyukang:yukang/cleanup-parser-delims, r=compiler-errors</title>
<updated>2023-03-04T19:48:17+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-03-04T19:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd6f03de9a5c26851b623f0eb4723ba99df38822'/>
<id>urn:sha1:dd6f03de9a5c26851b623f0eb4723ba99df38822</id>
<content type='text'>
Remove unclosed_delims from parser

After landing https://github.com/rust-lang/rust/pull/108297
we could remove `unclosed_delims` from the parser now.
</content>
</entry>
<entry>
<title>Remove unclosed_delims from parser</title>
<updated>2023-03-03T23:09:36+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2023-03-03T22:48:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1073fab35280ed4fac22f619beda75ca132f386'/>
<id>urn:sha1:d1073fab35280ed4fac22f619beda75ca132f386</id>
<content type='text'>
</content>
</entry>
</feed>
