<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/parser, branch 1.61.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.61.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.61.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-04-03T05:24:20+00:00</updated>
<entry>
<title>Auto merge of #88672 - camelid:inc-parser-sugg, r=davidtwco</title>
<updated>2022-04-03T05:24:20+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-04-03T05:24:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=133859d680ffe31072b80f518377fa0c487359d9'/>
<id>urn:sha1:133859d680ffe31072b80f518377fa0c487359d9</id>
<content type='text'>
Suggest `i += 1` when we see `i++` or `++i`

Closes #83502 (for `i++` and `++i`; `--i` should be covered by #82987, and `i--`
is tricky to handle).

This is a continuation of #83536.

r? `@estebank`
</content>
</entry>
<entry>
<title>Auto merge of #95590 - GuillaumeGomez:multi-line-attr-handling-doctest, r=notriddle</title>
<updated>2022-04-02T23:39:25+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-04-02T23:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c1550e3f8c57b0ebb0edb3a7ea64727e668f669c'/>
<id>urn:sha1:c1550e3f8c57b0ebb0edb3a7ea64727e668f669c</id>
<content type='text'>
Fix multiline attributes handling in doctests

Fixes #55713.

I needed to have access to the `unclosed_delims` field in order to check that the attribute was completely parsed and didn't have missing parts, so I created a getter for it.

r? `@notriddle`
</content>
</entry>
<entry>
<title>Fix doctest multi-line mod attributes handling</title>
<updated>2022-04-02T18:53:19+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-04-02T15:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c37cd911a49a541b3c985c446aea1208685d05e3'/>
<id>urn:sha1:c37cd911a49a541b3c985c446aea1208685d05e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #95293 - compiler-errors:braces, r=davidtwco</title>
<updated>2022-04-01T04:59:42+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-04-01T04:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f493fd46a99c1c9255b684d8a7e61991e59a923'/>
<id>urn:sha1:8f493fd46a99c1c9255b684d8a7e61991e59a923</id>
<content type='text'>
suggest wrapping single-expr blocks in square brackets

Suggests a fix in cases like:

```diff
- const A: [i32; 1] = { 1 };

+ const A: [i32; 1] = [ 1 ];
                      ^   ^
```

Also edit the message for the same suggestion in the parser (e.g. `{ 1, 2 }`).

Fixes #95289
</content>
</entry>
<entry>
<title>Addressed comments by @compiler-errors and @bjorn3</title>
<updated>2022-03-30T21:04:46+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2022-03-30T21:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a6dd6582540ad20e385bcf8326968aa94f33694b'/>
<id>urn:sha1:a6dd6582540ad20e385bcf8326968aa94f33694b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Spellchecking compiler comments</title>
<updated>2022-03-30T19:14:15+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2022-03-30T19:14:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5160f8f843e1dbd43cf341cc8aa5d917d22c98b9'/>
<id>urn:sha1:5160f8f843e1dbd43cf341cc8aa5d917d22c98b9</id>
<content type='text'>
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
</content>
</entry>
<entry>
<title>Rollup merge of #95461 - nyurik:spelling, r=lcnr</title>
<updated>2022-03-30T07:10:07+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-03-30T07:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03b3993ae87ea47cfbff30534b0567a8b4574134'/>
<id>urn:sha1:03b3993ae87ea47cfbff30534b0567a8b4574134</id>
<content type='text'>
Spellchecking some comments

This PR attempts to clean up some minor spelling mistakes in comments
</content>
</entry>
<entry>
<title>Spellchecking some comments</title>
<updated>2022-03-30T05:39:38+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2022-03-30T05:39:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e8201ae0a57ef63b876cf2bf9ae388426f1dda5'/>
<id>urn:sha1:7e8201ae0a57ef63b876cf2bf9ae388426f1dda5</id>
<content type='text'>
This PR attempts to clean up some minor spelling mistakes in comments
</content>
</entry>
<entry>
<title>Rollup merge of #95318 - rust-lang:notriddle/issue-95208, r=wesleywiser</title>
<updated>2022-03-28T18:41:50+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-03-28T18:41:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e10d5039bcc5648ae44390968ebc7568ff9db1ac'/>
<id>urn:sha1:e10d5039bcc5648ae44390968ebc7568ff9db1ac</id>
<content type='text'>
diagnostics: correct generic bounds with doubled colon

Fixes #95208
</content>
</entry>
<entry>
<title>Rollup merge of #95301 - nnethercote:rm-NtTT, r=petrochenkov</title>
<updated>2022-03-28T14:08:07+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-03-28T14:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae037a86f981e2c7776440c0ac71f03f7ee65089'/>
<id>urn:sha1:ae037a86f981e2c7776440c0ac71f03f7ee65089</id>
<content type='text'>
Remove `Nonterminal::NtTT`.

It's only needed for macro expansion, not as a general element in the
AST. This commit removes it, adds `NtOrTt` for the parser and macro
expansion cases, and renames the variants in `NamedMatch` to better
match the new type.

r? `@petrochenkov`
</content>
</entry>
</feed>
