<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/function-pointer, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-27T19:06:05+00:00</updated>
<entry>
<title>Add test batch 2</title>
<updated>2025-08-27T19:06:05+00:00</updated>
<author>
<name>Oneirical</name>
<email>manchot@videotron.ca</email>
</author>
<published>2025-08-20T18:02:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2dc4638c4637bf8ddb83577535317dad21abdf6d'/>
<id>urn:sha1:2dc4638c4637bf8ddb83577535317dad21abdf6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove a duplicated check that doesn't do anything anymore.</title>
<updated>2024-12-19T10:56:31+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2024-12-19T10:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=987656f5096c89377d4b58cda5e659f21437001f'/>
<id>urn:sha1:987656f5096c89377d4b58cda5e659f21437001f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow fn pointers comparisons lint in UI tests</title>
<updated>2024-12-02T17:43:37+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2023-12-10T14:51:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8ce63576bddc95e99b54ebf8ec9da6f52a647ad2'/>
<id>urn:sha1:8ce63576bddc95e99b54ebf8ec9da6f52a647ad2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove detail from label/note that is already available in other note</title>
<updated>2024-10-29T16:26:57+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-10-24T21:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b542866400ad4a294f468cfa7e059d95c27a079'/>
<id>urn:sha1:5b542866400ad4a294f468cfa7e059d95c27a079</id>
<content type='text'>
Remove the "which is required by `{root_obligation}`" post-script in
"the trait `X` is not implemented for `Y`" explanation in E0277. This
information is already conveyed in the notes explaining requirements,
making it redundant while making the text (particularly in labels)
harder to read.

```
error[E0277]: the trait bound `NotCopy: Copy` is not satisfied
  --&gt; $DIR/wf-static-type.rs:10:13
   |
LL | static FOO: IsCopy&lt;Option&lt;NotCopy&gt;&gt; = IsCopy { t: None };
   |             ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `NotCopy`
   |
   = note: required for `Option&lt;NotCopy&gt;` to implement `Copy`
note: required by a bound in `IsCopy`
  --&gt; $DIR/wf-static-type.rs:7:17
   |
LL | struct IsCopy&lt;T:Copy&gt; { t: T }
   |                 ^^^^ required by this bound in `IsCopy`
```
vs the prior

```
error[E0277]: the trait bound `NotCopy: Copy` is not satisfied
  --&gt; $DIR/wf-static-type.rs:10:13
   |
LL | static FOO: IsCopy&lt;Option&lt;NotCopy&gt;&gt; = IsCopy { t: None };
   |             ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `NotCopy`, which is required by `Option&lt;NotCopy&gt;: Copy`
   |
   = note: required for `Option&lt;NotCopy&gt;` to implement `Copy`
note: required by a bound in `IsCopy`
  --&gt; $DIR/wf-static-type.rs:7:17
   |
LL | struct IsCopy&lt;T:Copy&gt; { t: T }
   |                 ^^^^ required by this bound in `IsCopy`
```
</content>
</entry>
<entry>
<title>[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives</title>
<updated>2024-02-16T20:02:50+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-02-16T20:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec2cc761bc7067712ecc7734502f703fe3b024c8'/>
<id>urn:sha1:ec2cc761bc7067712ecc7734502f703fe3b024c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide more context on derived obligation error primary label</title>
<updated>2024-01-30T21:28:18+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-01-29T18:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6efddac288643c4b0bc85ea317ea275e6cb4739f'/>
<id>urn:sha1:6efddac288643c4b0bc85ea317ea275e6cb4739f</id>
<content type='text'>
Expand the primary span of E0277 when the immediate unmet bound is not what the user wrote:

```
error[E0277]: the trait bound `i32: Bar` is not satisfied
 --&gt; f100.rs:6:6
  |
6 |     &lt;i32 as Foo&gt;::foo();
  |      ^^^ the trait `Bar` is not implemented for `i32`, which is required by `i32: Foo`
  |
help: this trait has no implementations, consider adding one
 --&gt; f100.rs:2:1
  |
2 | trait Bar {}
  | ^^^^^^^^^
note: required for `i32` to implement `Foo`
 --&gt; f100.rs:3:14
  |
3 | impl&lt;T: Bar&gt; Foo for T {}
  |         ---  ^^^     ^
  |         |
  |         unsatisfied trait bound introduced here
```

Fix #40120.
</content>
</entry>
<entry>
<title>Tweak `short_ty_string` to reduce number of files</title>
<updated>2023-12-13T23:07:10+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-11-27T20:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d846fcc113454f17bbc05b5300c9f9f4d6b45b9'/>
<id>urn:sha1:9d846fcc113454f17bbc05b5300c9f9f4d6b45b9</id>
<content type='text'>
When shortening types and writing them to disk, make `short_ty_string`
capable of reusing the same file, instead of writing a file per
shortened type.
</content>
</entry>
<entry>
<title>Point at appropriate type parameter in more trait bound errors</title>
<updated>2023-08-26T01:07:05+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-08-24T19:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=120c24dab5806d458513b399151a411cb367697f'/>
<id>urn:sha1:120c24dab5806d458513b399151a411cb367697f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not mention lifetime names in force trimmed paths</title>
<updated>2023-01-30T20:12:21+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-01-06T01:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=252c43b42b33dc2bf341afd525d0041c5097d2b1'/>
<id>urn:sha1:252c43b42b33dc2bf341afd525d0041c5097d2b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't show `for&lt;'lt&gt;` in force trimmed paths</title>
<updated>2023-01-30T20:12:21+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-01-06T01:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81973a39e05bfc5ddad4b5a54903c2c8fbdfa273'/>
<id>urn:sha1:81973a39e05bfc5ddad4b5a54903c2c8fbdfa273</id>
<content type='text'>
</content>
</entry>
</feed>
