<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/self, 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-23T22:11:43+00:00</updated>
<entry>
<title>Use unnamed lifetime spans as primary spans for MISMATCHED_LIFETIME_SYNTAXES</title>
<updated>2025-08-23T22:11:43+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-08-23T20:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4557f0ea4f7e015b3108dc509bce562f64528bc'/>
<id>urn:sha1:e4557f0ea4f7e015b3108dc509bce562f64528bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bless tests with new lint messages</title>
<updated>2025-08-19T19:27:10+00:00</updated>
<author>
<name>Karol Zwolak</name>
<email>karolzwolak7@gmail.com</email>
</author>
<published>2025-04-28T11:47:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d14b83e378c421dd09320ace833a9d47848e3046'/>
<id>urn:sha1:d14b83e378c421dd09320ace833a9d47848e3046</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `tcx.short_string()` in more diagnostics</title>
<updated>2025-08-07T21:18:00+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-07-16T19:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99196657fcb5c1e20c13e76166c7f52d35584e88'/>
<id>urn:sha1:99196657fcb5c1e20c13e76166c7f52d35584e88</id>
<content type='text'>
`TyCtxt::short_string` ensures that user visible type paths aren't overwhelming on the terminal output, and properly saves the long name to disk as a side-channel. We already use these throughout the compiler and have been using them as needed when users find cases where the output is verbose. This is a proactive search of some cases to use `short_string`.

We add support for shortening the path of "trait path only".

Every manual use of `short_string` is a bright marker that that error should be using structured diagnostics instead (as they have proper handling of long types without the maintainer having to think abou tthem).

When we don't actually print out a shortened type we don't need the "use `--verbose`" note.

On E0599 show type identity to avoid expanding the receiver's generic parameters.

Unify wording on `long_ty_path` everywhere.
</content>
</entry>
<entry>
<title>Update ui tests with new macro early erroring</title>
<updated>2025-07-25T21:46:28+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-24T15:10:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=272513868f0dbc76fc3d0f10adda86a013d51b5e'/>
<id>urn:sha1:272513868f0dbc76fc3d0f10adda86a013d51b5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reword mismatched-lifetime-syntaxes text based on feedback</title>
<updated>2025-07-14T13:52:58+00:00</updated>
<author>
<name>Jake Goulding</name>
<email>jake.goulding@gmail.com</email>
</author>
<published>2025-07-10T22:36:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=553074431875701f66107049339dc1e67f0cdeba'/>
<id>urn:sha1:553074431875701f66107049339dc1e67f0cdeba</id>
<content type='text'>
Key changes include:

- Removal of the word "syntax" from the lint message. More accurately,
  it could have been something like "syntax group" or "syntax
  category", but avoiding it completely is easier.
- The primary lint message now reflects exactly which mismatch is
  occurring, instead of trying to be general. A new `help` line is
  general across the mismatch kinds.
- Suggestions have been reduced to be more minimal, no longer also
  changing non-idiomatic but unrelated aspects.
- Suggestion text no longer mentions changes when those changes don't
  occur in that specific suggestion.
</content>
</entry>
<entry>
<title>Rework borrowing suggestions to use `Expr` instead of just `Span`</title>
<updated>2025-07-10T17:23:29+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-07-10T17:15:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7dfc3e9af45ad54832c083baf0d2d0ca8e0d979a'/>
<id>urn:sha1:7dfc3e9af45ad54832c083baf0d2d0ca8e0d979a</id>
<content type='text'>
In the suggestion machinery for borrowing expressions and types, always use the available obligation `Span` to find the appropriate `Expr` to perform appropriateness checks no the `ExprKind` instead of on the textual snippet corresponding to the `Span`.

Unify the logic for the case where `&amp;` *and* `&amp;mut` are appropriate with the logic for only one of those cases.

Handle the case when `S::foo()` should have been `&lt;&amp;S&gt;::foo()` (instead of suggesting the prior `&amp;S::foo()`.
</content>
</entry>
<entry>
<title>Replace `ItemCtxt::report_placeholder_type_error` `match` with a call to `TyCtxt::def_descr`</title>
<updated>2025-06-30T18:36:16+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-06-30T13:11:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76df2656dfdb385830e83b14abf908544177be22'/>
<id>urn:sha1:76df2656dfdb385830e83b14abf908544177be22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Report infer ty errors during hir ty lowering</title>
<updated>2025-06-27T07:51:38+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-06-06T09:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c51f05be3094651711072e43bacac47cf7426be9'/>
<id>urn:sha1:c51f05be3094651711072e43bacac47cf7426be9</id>
<content type='text'>
This centralizes the placeholder type error reporting in one location, but it also exposes the granularity at which we convert things from hir to ty more. E.g. previously infer types in where bounds were errored together with the function signature, but now they are independent.</content>
</entry>
<entry>
<title>Unimplement unsized_locals</title>
<updated>2025-06-12T23:16:36+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-06-12T23:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0e02e26b39913ec1ee31621c65784542b137310'/>
<id>urn:sha1:c0e02e26b39913ec1ee31621c65784542b137310</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #142066 - ferrocene:lw/edition-2015-tests, r=compiler-errors</title>
<updated>2025-06-12T01:14:50+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-06-12T01:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3ddf3cae21340d41c091c9839779029fe512c65'/>
<id>urn:sha1:b3ddf3cae21340d41c091c9839779029fe512c65</id>
<content type='text'>
More simple 2015 edition test decoupling

This should be the last of these PRs for now. The remaining tests that do not work on other editions than 2015 either need the range support (so blocked on the MCP), need normalization rules (which needs discussions first/same MCP) or revisions.

r? compiler-errors
</content>
</entry>
</feed>
