<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src, branch 1.62.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.62.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.62.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-05-12T06:21:51+00:00</updated>
<entry>
<title>errors: `set_arg` takes `IntoDiagnosticArg`</title>
<updated>2022-05-12T06:21:51+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-05-07T06:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=de3e8ca2f3908dc48fddb0d5b4c14c776017b43e'/>
<id>urn:sha1:de3e8ca2f3908dc48fddb0d5b4c14c776017b43e</id>
<content type='text'>
Manual implementors of translatable diagnostics will need to call
`set_arg`, not just the derive, so make this function a bit more
ergonomic by taking `IntoDiagnosticArg` rather than
`DiagnosticArgValue`.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>Fixed typo in docs and correct doc links</title>
<updated>2022-05-08T15:24:15+00:00</updated>
<author>
<name>Fridtjof Stoldt</name>
<email>xFrednet@gmail.com</email>
</author>
<published>2022-04-05T16:23:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9516a40f1e767d1181344f9a3df8f740dff673c5'/>
<id>urn:sha1:9516a40f1e767d1181344f9a3df8f740dff673c5</id>
<content type='text'>
Co-authored-by: Philipp Krones &lt;hello@philkrones.com&gt;
</content>
</entry>
<entry>
<title>Only assert for unstable expectation ids after conversion (RFC 2383)</title>
<updated>2022-05-08T12:37:14+00:00</updated>
<author>
<name>xFrednet</name>
<email>xFrednet@gmail.com</email>
</author>
<published>2022-03-28T22:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f03681cd941c7e18ee99549148b8aa6f468d7c2'/>
<id>urn:sha1:7f03681cd941c7e18ee99549148b8aa6f468d7c2</id>
<content type='text'>
This ICE was reported by `@matthiaskrgr`. A big THANK YOU to him. See `rust#94953`
</content>
</entry>
<entry>
<title>fix most compiler/ doctests</title>
<updated>2022-05-03T00:40:30+00:00</updated>
<author>
<name>Elliot Roberts</name>
<email>Elliot0000101@gmail.com</email>
</author>
<published>2022-04-15T22:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7907385999b4a83d37ed31d334f3ed9ca02983a1'/>
<id>urn:sha1:7907385999b4a83d37ed31d334f3ed9ca02983a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>macros: subdiagnostic derive</title>
<updated>2022-04-29T01:05:20+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-04-26T10:59:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49ec909ca7d649d73115f7e0e894b0ffb0740b66'/>
<id>urn:sha1:49ec909ca7d649d73115f7e0e894b0ffb0740b66</id>
<content type='text'>
Add a new derive, `#[derive(SessionSubdiagnostic)]`, which enables
deriving structs for labels, notes, helps and suggestions.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>errors: `span_suggestion` takes `impl ToString`</title>
<updated>2022-04-29T01:05:20+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-04-26T05:17:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73fa217bc11fbac76f730223f6766c8e03513b5e'/>
<id>urn:sha1:73fa217bc11fbac76f730223f6766c8e03513b5e</id>
<content type='text'>
Change `span_suggestion` (and variants) to take `impl ToString` rather
than `String` for the suggested code, as this simplifies the
requirements on the diagnostic derive.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>Add --json unused-externs-silent with original behaviour</title>
<updated>2022-04-27T17:04:25+00:00</updated>
<author>
<name>Jeremy Fitzhardinge</name>
<email>jeremy@goop.org</email>
</author>
<published>2022-04-17T00:11:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c6bafa7322943643f37f8818bcb16dad28f53d26'/>
<id>urn:sha1:c6bafa7322943643f37f8818bcb16dad28f53d26</id>
<content type='text'>
Since Cargo wants to do its own fatal error handling for unused
dependencies, add the option `--json unused-externs-silent` which
has the original behaviour of not indicating non-zero exit status for
`deny`/`forbid`-level unused dependencies.
</content>
</entry>
<entry>
<title>Plumb through rustc_lint_defs::Level as enum rather than string.</title>
<updated>2022-04-27T17:04:25+00:00</updated>
<author>
<name>Jeremy Fitzhardinge</name>
<email>jeremy@goop.org</email>
</author>
<published>2022-04-15T08:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0529a13b5db43952a88504fb16fd561adbcdcc14'/>
<id>urn:sha1:0529a13b5db43952a88504fb16fd561adbcdcc14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make --json unused-extern deny/forbid level messages cause exit with error status</title>
<updated>2022-04-27T17:04:25+00:00</updated>
<author>
<name>Jeremy Fitzhardinge</name>
<email>jeremy@goop.org</email>
</author>
<published>2022-04-15T07:37:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=39f2f1846376c1522b2264069c94a19ef42ebb98'/>
<id>urn:sha1:39f2f1846376c1522b2264069c94a19ef42ebb98</id>
<content type='text'>
Closes: https://github.com/rust-lang/rust/issues/96068
</content>
</entry>
<entry>
<title>Rollup merge of #96149 - est31:remove_unused_macro_matchers, r=petrochenkov</title>
<updated>2022-04-25T23:21:20+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-04-25T23:21:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93db30aa7f32a08e371774dd3821baab3d808f8d'/>
<id>urn:sha1:93db30aa7f32a08e371774dd3821baab3d808f8d</id>
<content type='text'>
Remove unused macro rules

Removes rules of internal macros that weren't triggered.
</content>
</entry>
</feed>
