<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_parse/src/errors.rs, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-18T05:06:22+00:00</updated>
<entry>
<title>Rename many `DiagCtxt` arguments.</title>
<updated>2023-12-18T05:06:22+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T23:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f422dca3ae8b8a8c9a99b8e6ec0899e08dc072c3'/>
<id>urn:sha1:f422dca3ae8b8a8c9a99b8e6ec0899e08dc072c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Handler` as `DiagCtxt`.</title>
<updated>2023-12-18T05:06:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T10:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cde19c016e4608288a02f5bdec0b5330d474c26f'/>
<id>urn:sha1:cde19c016e4608288a02f5bdec0b5330d474c26f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid `struct_diagnostic` where possible.</title>
<updated>2023-12-14T04:53:55+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-13T04:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7bdb227567398bed342697ea1f76f2cb34c9a7c2'/>
<id>urn:sha1:7bdb227567398bed342697ea1f76f2cb34c9a7c2</id>
<content type='text'>
It's necessary for `derive(Diagnostic)`, but is best avoided elsewhere
because there are clearer alternatives.

This required adding `Handler::struct_almost_fatal`.
</content>
</entry>
<entry>
<title>Support async gen fn</title>
<updated>2023-12-08T17:23:26+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-12-05T21:45:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a208bae00e1031ef3d7bb922c4f68cbbc362900c'/>
<id>urn:sha1:a208bae00e1031ef3d7bb922c4f68cbbc362900c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #116420 - bvanjoi:fix-116203, r=Nilstrieb</title>
<updated>2023-12-07T20:38:07+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-12-07T20:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71a8ca0522d727e2900e4a6f0899f3664de97035'/>
<id>urn:sha1:71a8ca0522d727e2900e4a6f0899f3664de97035</id>
<content type='text'>
discard invalid spans in external blocks

Fixes #116203

This PR has discarded the invalid `﻿const_span`, thereby making the format more neat.

r? ``@Nilstrieb``
</content>
</entry>
<entry>
<title>Auto merge of #118655 - compiler-errors:rollup-vrngyzn, r=compiler-errors</title>
<updated>2023-12-06T04:20:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-06T04:20:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1dd4db50620fb38a6382c22456a96ed7cddeff83'/>
<id>urn:sha1:1dd4db50620fb38a6382c22456a96ed7cddeff83</id>
<content type='text'>
Rollup of 9 pull requests

Successful merges:

 - #117793 (Update variable name to fix `unused_variables` warning)
 - #118123 (Add support for making lib features internal)
 - #118268 (Pretty print `Fn&lt;(..., ...)&gt;` trait refs with parentheses (almost) always)
 - #118346 (Add `deeply_normalize_for_diagnostics`, use it in coherence)
 - #118350 (Simplify Default for tuples)
 - #118450 (Use OnceCell in cell module documentation)
 - #118585 (Fix parser ICE when recovering `dyn`/`impl` after `for&lt;...&gt;`)
 - #118587 (Cleanup error handlers some more)
 - #118642 (bootstrap(builder.rs): Don't explicitly warn against `semicolon_in_expressions_from_macros`)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Make async gen fn an error</title>
<updated>2023-12-04T19:23:07+00:00</updated>
<author>
<name>Eric Holk</name>
<email>ericholk@microsoft.com</email>
</author>
<published>2023-11-30T00:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f29b36d03ecf9986ac6c47385ff9390c9a2390e6'/>
<id>urn:sha1:f29b36d03ecf9986ac6c47385ff9390c9a2390e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>De-genericize some `IntoDiagnostic` impls.</title>
<updated>2023-12-04T07:57:42+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-03T23:11:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b7e18cabd2af625c2582ab0ce0fecc9b5437a512'/>
<id>urn:sha1:b7e18cabd2af625c2582ab0ce0fecc9b5437a512</id>
<content type='text'>
These impls are all needed for just a single `IntoDiagnostic` type, not
a family of them.

Note that `ErrorGuaranteed` is the default type parameter for
`IntoDiagnostic`.
</content>
</entry>
<entry>
<title>Account for `(pat if expr) =&gt; {}`</title>
<updated>2023-11-29T18:47:32+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-11-06T23:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c47318983bcad308e0cf438fcd7d7104db607b1a'/>
<id>urn:sha1:c47318983bcad308e0cf438fcd7d7104db607b1a</id>
<content type='text'>
When encountering match arm (pat if expr) =&gt; {}, recover and suggest removing parentheses. Fix #100825.
</content>
</entry>
<entry>
<title>More accurate span for unnecessary parens suggestion</title>
<updated>2023-11-29T18:47:31+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-11-06T21:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=075c599188db71474eb2ad3c8b89287f79ac57e3'/>
<id>urn:sha1:075c599188db71474eb2ad3c8b89287f79ac57e3</id>
<content type='text'>
</content>
</entry>
</feed>
