<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src, branch 1.66.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.66.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.66.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-10-23T16:59:13+00:00</updated>
<entry>
<title>Allow specifying multiple alternative suggestions</title>
<updated>2022-10-23T16:59:13+00:00</updated>
<author>
<name>Xiretza</name>
<email>xiretza@xiretza.xyz</email>
</author>
<published>2022-10-17T17:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8bc43f99e91a94868fe08bb72b7ce66d7656d0b5'/>
<id>urn:sha1:8bc43f99e91a94868fe08bb72b7ce66d7656d0b5</id>
<content type='text'>
This allows porting uses of span_suggestions() to diagnostic structs.

Doesn't work for multipart_suggestions() because the rank would be
reversed - the struct would specify multiple spans, each of which has
multiple possible replacements, while multipart_suggestions() creates
multiple possible replacements, each with multiple spans.
</content>
</entry>
<entry>
<title>Auto merge of #103431 - Dylan-DPC:rollup-oozfo89, r=Dylan-DPC</title>
<updated>2022-10-23T11:33:18+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-10-23T11:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9be2f35a4c1ed1b04aa4a6945b64763f599259ff'/>
<id>urn:sha1:9be2f35a4c1ed1b04aa4a6945b64763f599259ff</id>
<content type='text'>
Rollup of 6 pull requests

Successful merges:

 - #101293 (Recover when unclosed char literal is parsed as a lifetime in some positions)
 - #101908 (Suggest let for assignment, and some code refactor)
 - #103192 (rustdoc: Eliminate uses of `EarlyDocLinkResolver::all_traits`)
 - #103226 (Check `needs_infer` before `needs_drop` during HIR generator analysis)
 - #103249 (resolve: Revert "Set effective visibilities for imports more precisely")
 - #103305 (Move some tests to more reasonable places)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Rollup merge of #101293 - compiler-errors:lt-is-actually-char, r=estebank</title>
<updated>2022-10-23T09:50:16+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-10-23T09:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e029c1fd43b1306355e273dee94ff0a5e6b1ef3d'/>
<id>urn:sha1:e029c1fd43b1306355e273dee94ff0a5e6b1ef3d</id>
<content type='text'>
Recover when unclosed char literal is parsed as a lifetime in some positions

Fixes #101278
</content>
</entry>
<entry>
<title>Migrate all diagnostics</title>
<updated>2022-10-23T08:09:44+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-10-22T09:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c65ebae2216119d23d88bbfea78192a3d950c4f3'/>
<id>urn:sha1:c65ebae2216119d23d88bbfea78192a3d950c4f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Recover unclosed char literal being parsed as lifetime</title>
<updated>2022-10-22T06:57:12+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-09-01T18:48:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0270b50eb093304c563e1def677ef38a72ac53c1'/>
<id>urn:sha1:0270b50eb093304c563e1def677ef38a72ac53c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #103051 - davidtwco:translation-tidying-up, r=compiler-errors</title>
<updated>2022-10-21T11:59:58+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-10-21T11:59:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e11511dfa648186b809cf2cd458af2110f5a6809'/>
<id>urn:sha1:e11511dfa648186b809cf2cd458af2110f5a6809</id>
<content type='text'>
translation: doc comments with derives, subdiagnostic-less enum variants, more derive use

- Adds support for `doc` attributes in the diagnostic derives so that documentation comments don't result in the derive failing.
- Adds support for enum variants in the subdiagnostic derive to not actually correspond to an addition to a diagnostic.
- Made use of the derive in more places in the `rustc_ast_lowering`, `rustc_ast_passes`, `rustc_lint`, `rustc_session`, `rustc_infer` - taking advantage of recent additions like eager subdiagnostics, multispan suggestions, etc.

cc #100717
</content>
</entry>
<entry>
<title>Implement assertions and fixes to not emit empty spans without suggestions</title>
<updated>2022-10-20T08:25:31+00:00</updated>
<author>
<name>Kevin Per</name>
<email>kevin.per@protonmail.com</email>
</author>
<published>2022-10-11T16:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28d0312b7d47b8bc8fcb4888ca627231715db3cd'/>
<id>urn:sha1:28d0312b7d47b8bc8fcb4888ca627231715db3cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lint: use derive more</title>
<updated>2022-10-17T08:54:24+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-10-14T12:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21d3bbd8b611725456e5ebefb6704b263bee819e'/>
<id>urn:sha1:21d3bbd8b611725456e5ebefb6704b263bee819e</id>
<content type='text'>
Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>UPDATE - Move IntoDiagnosticArg implementations to diagnostic_impls file</title>
<updated>2022-10-12T20:55:28+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-10-12T20:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be221573c853f5cdca8becab5acc600d6c79eac5'/>
<id>urn:sha1:be221573c853f5cdca8becab5acc600d6c79eac5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ADD - IntoDiagnostic conformance for TargetDataLayoutErrors in rustc_errors</title>
<updated>2022-10-12T20:54:25+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-10-05T00:56:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5645cd5b09fb6db849376872fd09fe31bf029b57'/>
<id>urn:sha1:5645cd5b09fb6db849376872fd09fe31bf029b57</id>
<content type='text'>
This way we comply with the Coherence rule given that IntoDiagnostic trait is defined in rustc_errors, and almost all other crates depend on it.
</content>
</entry>
</feed>
