<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/parser/match-arm-without-body.stderr, branch automation/bors/try-merge</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try-merge</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try-merge'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-10-02T18:24:34+00:00</updated>
<entry>
<title>bring back plural 'alternatives' in suggestion message</title>
<updated>2025-10-02T18:24:34+00:00</updated>
<author>
<name>Karol Zwolak</name>
<email>karolzwolak7@gmail.com</email>
</author>
<published>2025-10-02T18:24:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1d7b9472a18780499162b4a91beea729bc2c13b'/>
<id>urn:sha1:d1d7b9472a18780499162b4a91beea729bc2c13b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bless tests</title>
<updated>2025-10-01T20:45:16+00:00</updated>
<author>
<name>Karol Zwolak</name>
<email>karolzwolak7@gmail.com</email>
</author>
<published>2025-09-27T20:57:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a08228d284a91e5b2514035b723e82deb9179985'/>
<id>urn:sha1:a08228d284a91e5b2514035b723e82deb9179985</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix "missing match arm body" suggestion involving `!`</title>
<updated>2025-02-22T18:30:14+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-02-22T18:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8f8b8de66025e254cbed08a53d5084162605d98'/>
<id>urn:sha1:a8f8b8de66025e254cbed08a53d5084162605d98</id>
<content type='text'>
Include the match arm guard in the gated span, so that the suggestion to add a body is correct instead of inserting the body before the guard.

Make the suggestion verbose.

```
error: `match` arm with no body
  --&gt; $DIR/feature-gate-never_patterns.rs:43:9
   |
LL |         Some(_) if false,
   |         ^^^^^^^^^^^^^^^^
   |
help: add a body after the pattern
   |
LL |         Some(_) if false =&gt; { todo!() },
   |                          ++++++++++++++
```
</content>
</entry>
<entry>
<title>Show diff suggestion format on verbose replacement</title>
<updated>2025-02-10T20:21:39+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-07-09T22:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d'/>
<id>urn:sha1:f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d</id>
<content type='text'>
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --&gt; $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
</content>
</entry>
<entry>
<title>Make parse error suggestions verbose and fix spans</title>
<updated>2024-07-12T03:02:57+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-07-06T03:07:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=692bc344d55cf9d86c60b06c92a70684d013c89f'/>
<id>urn:sha1:692bc344d55cf9d86c60b06c92a70684d013c89f</id>
<content type='text'>
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
</content>
</entry>
<entry>
<title>Don't expect bodyless arms if the pattern can never be a never pattern</title>
<updated>2023-12-28T14:02:17+00:00</updated>
<author>
<name>Lieselotte</name>
<email>52315535+she3py@users.noreply.github.com</email>
</author>
<published>2023-12-28T14:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d6cd6bf1f780a7ce8487daa27eae82fd60bfcd7'/>
<id>urn:sha1:7d6cd6bf1f780a7ce8487daa27eae82fd60bfcd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correctly gate the parsing of match arms without body</title>
<updated>2023-12-12T13:42:04+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2023-12-12T12:33:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e274372689928972e4e78a24d615f6c4d375f7d4'/>
<id>urn:sha1:e274372689928972e4e78a24d615f6c4d375f7d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disallow an arm without a body (except for never patterns)</title>
<updated>2023-12-03T11:25:46+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2023-11-27T00:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2dcb3a6d9aead3964b3b1cdf814dc7eb9c5d8ed'/>
<id>urn:sha1:a2dcb3a6d9aead3964b3b1cdf814dc7eb9c5d8ed</id>
<content type='text'>
Parsing now accepts a match arm without a body, so we must make sure to
only accept that if the pattern is a never pattern.
</content>
</entry>
<entry>
<title>Parse a pattern with no arm</title>
<updated>2023-12-03T11:25:46+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2023-11-27T02:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=80bdcbf50a63845dd3cfeb05751ba3dcbd1025b8'/>
<id>urn:sha1:80bdcbf50a63845dd3cfeb05751ba3dcbd1025b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests</title>
<updated>2023-12-02T02:41:37+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2023-11-27T00:08:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=caa488b96e65131e4d70f219d5e89008031f9229'/>
<id>urn:sha1:caa488b96e65131e4d70f219d5e89008031f9229</id>
<content type='text'>
</content>
</entry>
</feed>
