<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/feature-gates/feature-gate-dispatch-from-dyn-cell.stderr, 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>2024-12-13T15:40:37+00:00</updated>
<entry>
<title>Arbitrary self types v2: adjust diagnostic.</title>
<updated>2024-12-13T15:40:37+00:00</updated>
<author>
<name>Adrian Taylor</name>
<email>adetaylor@chromium.org</email>
</author>
<published>2024-12-13T15:40:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=174dae607c40ca65f5589b22062775a95846f12d'/>
<id>urn:sha1:174dae607c40ca65f5589b22062775a95846f12d</id>
<content type='text'>
The recently landed PR to adjust arbitrary self types was a bit
overenthusiastic, advising folks to use the new Receiver trait even
before it's been stabilized. Revert to the older wording of the lint in
such cases.
</content>
</entry>
<entry>
<title>Arbitrary self types v2: use Receiver trait</title>
<updated>2024-12-11T11:59:12+00:00</updated>
<author>
<name>Adrian Taylor</name>
<email>adetaylor@chromium.org</email>
</author>
<published>2024-10-25T11:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e75660dad3827fab87d96e2c65a7836fd5511b69'/>
<id>urn:sha1:e75660dad3827fab87d96e2c65a7836fd5511b69</id>
<content type='text'>
In this new version of Arbitrary Self Types, we no longer use the Deref trait
exclusively when working out which self types are valid. Instead, we follow a
chain of Receiver traits. This enables methods to be called on smart pointer
types which fundamentally cannot support Deref (for instance because they are
wrappers for pointers that don't follow Rust's aliasing rules).

This includes:
* Changes to tests appropriately
* New tests for:
  * The basics of the feature
  * Ensuring lifetime elision works properly
  * Generic Receivers
  * A copy of the method subst test enhanced with Receiver

This is really the heart of the 'arbitrary self types v2' feature, and
is the most critical commit in the current PR.

Subsequent commits are focused on:
* Detecting "shadowing" problems, where a smart pointer type can hide
  methods in the pointee.
* Diagnostics and cleanup.

Naming: in this commit, the "Autoderef" type is modified so that it no
longer solely focuses on the "Deref" trait, but can now consider the
"Receiver" trait instead. Should it be renamed, to something like
"TraitFollower"? This was considered, but rejected, because
* even in the Receiver case, it still considers built-in derefs
* the name Autoderef is short and snappy.
</content>
</entry>
<entry>
<title>Replace item names containing an error code with something more meaningful</title>
<updated>2024-04-30T20:27:19+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-04-25T01:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a1d748254d3241967cf7d2bad141a371ccc7c99'/>
<id>urn:sha1:2a1d748254d3241967cf7d2bad141a371ccc7c99</id>
<content type='text'>
or inline such functions if useless.
</content>
</entry>
<entry>
<title>Show number in error message even for one error</title>
<updated>2023-11-24T18:15:52+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-11-21T15:44:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41e8d152dc5abb5a706999ada8b059d3420af8f3'/>
<id>urn:sha1:41e8d152dc5abb5a706999ada8b059d3420af8f3</id>
<content type='text'>
Co-authored-by: Adrian &lt;adrian.iosdev@gmail.com&gt;
</content>
</entry>
<entry>
<title>add feature gate tests for DispatchFromDyn</title>
<updated>2023-01-24T13:21:57+00:00</updated>
<author>
<name>dimi</name>
<email>dimi.polonski@gmail.com</email>
</author>
<published>2022-10-26T12:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af58854168f2ae6b0af89d7945584cb78e276193'/>
<id>urn:sha1:af58854168f2ae6b0af89d7945584cb78e276193</id>
<content type='text'>
</content>
</entry>
</feed>
