<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_middle/src/ty/diagnostics.rs, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-20T22:01:13+00:00</updated>
<entry>
<title>Move `IntoDiagArg` earlier in the dependency chains</title>
<updated>2025-08-20T22:01:13+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-14T07:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b65fab62999e96acd3683826ffd4140091f185f2'/>
<id>urn:sha1:b65fab62999e96acd3683826ffd4140091f185f2</id>
<content type='text'>
`rustc_errors` depends on numerous crates, solely to implement its
`IntoDiagArg` trait on types from those crates. Many crates depend on
`rustc_errors`, and it's on the critical path.

We can't swap things around to make all of those crates depend on
`rustc_errors` instead, because `rustc_errors` would end up in
dependency cycles.

Instead, move `IntoDiagArg` into `rustc_error_messages`, which has far
fewer dependencies, and then have most of these crates depend on
`rustc_error_messages`.

This allows `rustc_errors` to drop dependencies on several crates,
including the large `rustc_target`.

(This doesn't fully reduce dependency chains yet, as `rustc_errors`
still depends on `rustc_hir` which depends on `rustc_target`. That will
get fixed in a subsequent commit.)
</content>
</entry>
<entry>
<title>Add support for shortening `Instance` and use it</title>
<updated>2025-08-06T22:21:49+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-07-29T01:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=025fbe8f698a85865d0e9dba7e97ec6a82eac59b'/>
<id>urn:sha1:025fbe8f698a85865d0e9dba7e97ec6a82eac59b</id>
<content type='text'>
Replace ad-hoc type path shortening logic for recursive mono instantiation errors to use `tcx.short_string()` instead.
</content>
</entry>
<entry>
<title>Auto merge of #131160 - ismailarilik:handle-potential-query-instability-lint-for-rustc-middle, r=oli-obk</title>
<updated>2025-05-06T01:36:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-05-06T01:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7295b08a17d1107155acd4b552069e3705b0ab1f'/>
<id>urn:sha1:7295b08a17d1107155acd4b552069e3705b0ab1f</id>
<content type='text'>
Handle `rustc_middle` cases of `rustc::potential_query_instability` lint

This PR removes `#![allow(rustc::potential_query_instability)]` line from [`compiler/rustc_middle/src/lib.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_middle/src/lib.rs#L29) and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors.

A somewhat tracking issue: https://github.com/rust-lang/rust/issues/84447

r? `@compiler-errors`
</content>
</entry>
<entry>
<title>Handle rustc_middle cases of rustc::potential_query_instability lint</title>
<updated>2025-05-05T13:36:04+00:00</updated>
<author>
<name>ismailarilik</name>
<email>arilik.ismail@gmail.com</email>
</author>
<published>2025-05-05T13:36:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2426dbcde20d1c34a50ff1cce9df6215b66e3d1b'/>
<id>urn:sha1:2426dbcde20d1c34a50ff1cce9df6215b66e3d1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `LifetimeName` as `LifetimeKind`.</title>
<updated>2025-04-15T21:16:40+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-03-27T04:52:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe882bf330f00f7bc07327430fdded4164dac25e'/>
<id>urn:sha1:fe882bf330f00f7bc07327430fdded4164dac25e</id>
<content type='text'>
It's a much better name, more consistent with how we name such things.

Also rename `Lifetime::res` as `Lifetime::kind` to match. I suspect this
field used to have the type `LifetimeRes` and then the type was changed
but the field name remained the same.
</content>
</entry>
<entry>
<title>Remove unused `Map` field from `TraitObjectVisitor`.</title>
<updated>2025-04-13T23:16:32+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-04-01T23:13:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c5f2265e8267f9f116086d31d7ec83c0198c37b'/>
<id>urn:sha1:7c5f2265e8267f9f116086d31d7ec83c0198c37b</id>
<content type='text'>
Also reduce visibility.
</content>
</entry>
<entry>
<title>Remove unused `StaticLifetimeVisitor`.</title>
<updated>2025-04-13T23:16:32+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-04-01T23:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75558b2ffe4f7f8ece1c964bf8b791f6f475b914'/>
<id>urn:sha1:75558b2ffe4f7f8ece1c964bf8b791f6f475b914</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #138595 - jhpratt:rollup-09pvfzu, r=jhpratt</title>
<updated>2025-03-17T10:43:38+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-03-17T10:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a'/>
<id>urn:sha1:9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a</id>
<content type='text'>
Rollup of 9 pull requests

Successful merges:

 - #136355 (Add `*_value` methods to proc_macro lib)
 - #137621 (Add std support to cygwin target)
 - #137793 (Stablize anonymous pipe)
 - #138341 (std: Mention clone-on-write mutation in Arc&lt;T&gt;)
 - #138517 (Improve upvar analysis for deref of child capture)
 - #138584 (Update Rust Foundation links in Readme)
 - #138586 (Document `#![register_tool]`)
 - #138590 (Flatten and simplify some control flow 🫓)
 - #138592 (update change entry for #137147)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Flatten and simplify some control flow</title>
<updated>2025-03-17T09:15:49+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-03-16T22:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51e8309f50ccd5046b0555f394376db59681a38e'/>
<id>urn:sha1:51e8309f50ccd5046b0555f394376db59681a38e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `strip_{prefix|suffix}` instead of `{starts|ends}_with`+indexing</title>
<updated>2025-03-17T07:06:10+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-03-16T15:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3e4dff1839e9ba70953b8a9ac8572a6cdb160b9'/>
<id>urn:sha1:a3e4dff1839e9ba70953b8a9ac8572a6cdb160b9</id>
<content type='text'>
</content>
</entry>
</feed>
