<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser, branch 1.80.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.80.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.80.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-07-05T16:34:45+00:00</updated>
<entry>
<title>Properly gate `safe` keyword in pre-expansion</title>
<updated>2024-07-05T16:34:45+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-06-20T18:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=00583a64ee03bb38ac91095285916d8b997c4711'/>
<id>urn:sha1:00583a64ee03bb38ac91095285916d8b997c4711</id>
<content type='text'>
(cherry picked from commit 108b3f214a7e160ecb7ac2ec05bbb41aedd05a95)
</content>
</entry>
<entry>
<title>Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorino</title>
<updated>2024-06-07T18:14:30+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-06-07T18:14:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4aceaaa7f33fe0c4ad8d0b04e8c9bc8d0e76c962'/>
<id>urn:sha1:4aceaaa7f33fe0c4ad8d0b04e8c9bc8d0e76c962</id>
<content type='text'>
More `rustc_parse` cleanups

Following on from #125815.

r? `@spastorino`
</content>
</entry>
<entry>
<title>Rollup merge of #124214 - carbotaniuman:parse_unsafe_attrs, r=michaelwoerister</title>
<updated>2024-06-07T18:14:28+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-06-07T18:14:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e534c73c35f569492ed5fb5f349075d58ed8b7e'/>
<id>urn:sha1:6e534c73c35f569492ed5fb5f349075d58ed8b7e</id>
<content type='text'>
Parse unsafe attributes

Initial parse implementation for #123757

This is the initial work to parse unsafe attributes, which is represented as an extra `unsafety` field in `MetaItem` and `AttrItem`. There's two areas in the code where it appears that parsing is done manually and not using the parser stuff, and I'm not sure how I'm supposed to thread the change there.
</content>
</entry>
<entry>
<title>Auto merge of #125918 - oli-obk:const_block_ice, r=compiler-errors</title>
<updated>2024-06-07T09:08:59+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-06-07T09:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1be24d70ced0d6b8d41a48b6a28b3790f6facf4c'/>
<id>urn:sha1:1be24d70ced0d6b8d41a48b6a28b3790f6facf4c</id>
<content type='text'>
Revert: create const block bodies in typeck via query feeding

as per the discussion in https://github.com/rust-lang/rust/pull/125806#discussion_r1622563948

It was a mistake to try to shoehorn const blocks and some specific anon consts into the same box and feed them during typeck. It turned out not simplifying anything (my hope was that we could feed `type_of` to start avoiding the huge HIR matcher, but that didn't work out), but instead making a few things more fragile.

reverts the const-block-specific parts of https://github.com/rust-lang/rust/pull/124650

`@bors` rollup=never had a small perf impact previously

fixes https://github.com/rust-lang/rust/issues/125846

r? `@compiler-errors`
</content>
</entry>
<entry>
<title>Revert "Create const block DefIds in typeck instead of ast lowering"</title>
<updated>2024-06-07T08:33:58+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-06-03T09:11:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbee17d5025c7824828c793ac776ad6e1addbeac'/>
<id>urn:sha1:cbee17d5025c7824828c793ac776ad6e1addbeac</id>
<content type='text'>
This reverts commit ddc5f9b6c1f21da5d4596bf7980185a00984ac42.
</content>
</entry>
<entry>
<title>Fix build</title>
<updated>2024-06-07T01:27:25+00:00</updated>
<author>
<name>carbotaniuman</name>
<email>41451839+carbotaniuman@users.noreply.github.com</email>
</author>
<published>2024-05-21T13:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87be1bae73586eaf917790f10ac2240186cb7b2b'/>
<id>urn:sha1:87be1bae73586eaf917790f10ac2240186cb7b2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Parse unsafe attributes</title>
<updated>2024-06-07T01:26:27+00:00</updated>
<author>
<name>carbotaniuman</name>
<email>41451839+carbotaniuman@users.noreply.github.com</email>
</author>
<published>2024-04-21T04:54:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=67f5dd1ef112c8a87bc3353793cf4c1cece10c2d'/>
<id>urn:sha1:67f5dd1ef112c8a87bc3353793cf4c1cece10c2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco"</title>
<updated>2024-06-06T20:39:54+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2024-06-06T20:39:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=216424da32db1bf0d224b97ff3d0424622c97c4c'/>
<id>urn:sha1:216424da32db1bf0d224b97ff3d0424622c97c4c</id>
<content type='text'>
This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing
changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
</content>
</entry>
<entry>
<title>Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obk</title>
<updated>2024-06-06T08:14:58+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-06-06T08:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d28b6384e5e0a2c9d1500a1f65e35423453fbf6'/>
<id>urn:sha1:2d28b6384e5e0a2c9d1500a1f65e35423453fbf6</id>
<content type='text'>
Unsafe extern blocks

This implements RFC 3484.

Tracking issue #123743 and RFC https://github.com/rust-lang/rfcs/pull/3484

This is better reviewed commit by commit.
</content>
</entry>
<entry>
<title>Specialize `assert_pred`.</title>
<updated>2024-06-05T22:26:54+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-06-04T03:20:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=13f2bc9a651abe9cb1711293be7eae8d48169300'/>
<id>urn:sha1:13f2bc9a651abe9cb1711293be7eae8d48169300</id>
<content type='text'>
It has only two uses, and both use `matches_codepattern`. So just change
it to `assert_matches_codepattern`.
</content>
</entry>
</feed>
