<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser, branch 1.56.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-09-16T16:11:36+00:00</updated>
<entry>
<title>Re-add 71a7f8f1884b2c83eeb4a545eef16df1f2ea6476 post-revert.</title>
<updated>2021-09-16T16:11:36+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2021-09-08T18:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73c80cde8c2f05ad74c8f9228c7b538847ba9274'/>
<id>urn:sha1:73c80cde8c2f05ad74c8f9228c7b538847ba9274</id>
<content type='text'>
(cherry picked from commit f26f1ed9a7208c0d928f0413cdd5f0966fa2c399)
</content>
</entry>
<entry>
<title>Revert "Implement Anonymous{Struct, Union} in the AST"</title>
<updated>2021-09-16T16:11:36+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2021-09-08T18:03:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=983c1b1544d01f998dae27be9aee47ba63c3ff3f'/>
<id>urn:sha1:983c1b1544d01f998dae27be9aee47ba63c3ff3f</id>
<content type='text'>
This reverts commit 059b68dd677808e14e560802d235ad40beeba71e.

Note that this was manually adjusted to retain some of the refactoring
introduced by commit 059b68dd677808e14e560802d235ad40beeba71e, so that it could
likewise retain the correction introduced in commit
5b4bc05fa57be19bb5962f4b7c0f165e194e3151

(cherry picked from commit 91feb76d133952825e3eb32bed399ec6e4bd9219)
</content>
</entry>
<entry>
<title>Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiser</title>
<updated>2021-09-04T01:40:36+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-09-04T01:40:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4e8596e3e78395543747ebaba26b49f6a478aa8'/>
<id>urn:sha1:b4e8596e3e78395543747ebaba26b49f6a478aa8</id>
<content type='text'>
Detect bare blocks with type ascription that were meant to be a `struct` literal

Address part of #34255.

Potential improvement: silence the other knock down errors in `issue-34255-1.rs`.
</content>
</entry>
<entry>
<title>Auto merge of #88597 - cjgillot:lower-global, r=petrochenkov</title>
<updated>2021-09-03T14:47:13+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-09-03T14:47:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=577a76f0031f727735410b99a5cc5f0b61b92eef'/>
<id>urn:sha1:577a76f0031f727735410b99a5cc5f0b61b92eef</id>
<content type='text'>
Move global analyses from lowering to resolution

Split off https://github.com/rust-lang/rust/pull/87234

r? `@petrochenkov`
</content>
</entry>
<entry>
<title>Detect bare blocks with type ascription that were meant to be a `struct` literal</title>
<updated>2021-09-03T14:43:04+00:00</updated>
<author>
<name>Esteban Kuber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2021-09-02T18:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12ce6e9c60c662dc7181b70021145f191c0f9f3e'/>
<id>urn:sha1:12ce6e9c60c662dc7181b70021145f191c0f9f3e</id>
<content type='text'>
Address part of #34255.

Potential improvement: silence the other knock down errors in
`issue-34255-1.rs`.
</content>
</entry>
<entry>
<title>Auto merge of #88386 - estebank:unmatched-delims, r=jackh726</title>
<updated>2021-09-03T03:13:18+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-09-03T03:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=29d8fb746d3c7c0364f123e3efde90700b93aed3'/>
<id>urn:sha1:29d8fb746d3c7c0364f123e3efde90700b93aed3</id>
<content type='text'>
Point at unclosed delimiters as part of the primary MultiSpan

Both the place where the parser encounters a needed closed delimiter and
the unclosed opening delimiter are important, so they should get the
same level of highlighting in the output.

_Context: https://twitter.com/mwk4/status/1430631546432675840_
</content>
</entry>
<entry>
<title>Compute proc_macros in resolutions.</title>
<updated>2021-09-01T18:13:16+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-07-16T20:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8efe5d8222db70964f46b6523be81d6e7c38e65'/>
<id>urn:sha1:f8efe5d8222db70964f46b6523be81d6e7c38e65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #87688 - camsteffen:let-else, r=cjgillot</title>
<updated>2021-09-01T01:02:42+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-09-01T01:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c2a408840ad18f74280805535f0b7193528ff3df'/>
<id>urn:sha1:c2a408840ad18f74280805535f0b7193528ff3df</id>
<content type='text'>
Introduce `let...else`

Tracking issue: #87335

The trickiest part for me was enforcing the diverging else block with clear diagnostics. Perhaps the obvious solution is to expand to `let _: ! = ..`, but I decided against this because, when a "mismatched type" error is found in typeck, there is no way to trace where in the HIR the expected type originated, AFAICT. In order to pass down this information, I believe we should introduce `Expectation::LetElseNever(HirId)` or maybe add `HirId` to `Expectation::HasType`, but I left that as a future enhancement. For now, I simply assert that the block is `!` with a custom `ObligationCauseCode`, and I think this is clear enough, at least to start. The downside here is that the error points at the entire block rather than the specific expression with the wrong type. I left a todo to this effect.

Overall, I believe this PR is feature-complete with regard to the RFC.
</content>
</entry>
<entry>
<title>Rollup merge of #88450 - notriddle:notriddle/maybe_whole_expr, r=cjgillot</title>
<updated>2021-08-31T08:41:22+00:00</updated>
<author>
<name>Mara Bos</name>
<email>m-ou.se@m-ou.se</email>
</author>
<published>2021-08-31T08:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7696aca55f8f5820cbe80a2b455616f10a81af83'/>
<id>urn:sha1:7696aca55f8f5820cbe80a2b455616f10a81af83</id>
<content type='text'>
fix(rustc_parse): correct span in `maybe_whole_expr!`

Fixes #87812
</content>
</entry>
<entry>
<title>Handle let-else initializer edge case errors</title>
<updated>2021-08-31T01:18:42+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2021-07-30T22:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=29bc94ff0de00d79aa10c47603701592e1d3e340'/>
<id>urn:sha1:29bc94ff0de00d79aa10c47603701592e1d3e340</id>
<content type='text'>
</content>
</entry>
</feed>
