<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/box/unit, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-26T13:33:48+00:00</updated>
<entry>
<title>Ignore more failing ui tests for GCC backend</title>
<updated>2025-09-26T13:33:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-26T11:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a535c7be5444fb6584eecc99f53e6cdb710ff70f'/>
<id>urn:sha1:a535c7be5444fb6584eecc99f53e6cdb710ff70f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: use `needs-threads` instead of `ignore-emscripten`</title>
<updated>2025-01-23T12:51:29+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-01-23T09:05:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=071ad3795c9dacbb3cf8ef7c06f9a0d9fd91c076'/>
<id>urn:sha1:071ad3795c9dacbb3cf8ef7c06f9a0d9fd91c076</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>tests: remove `//@ pretty-expanded` usages</title>
<updated>2024-11-25T18:50:48+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2024-11-25T17:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95ff642797536f055c04ae2486bc8ab3156535b5'/>
<id>urn:sha1:95ff642797536f055c04ae2486bc8ab3156535b5</id>
<content type='text'>
Done with

```bash
sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs
```

and

```
sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs
```
</content>
</entry>
<entry>
<title>compiletest: Add a `//@ needs-threads` directive</title>
<updated>2024-03-06T20:35:07+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2024-03-06T20:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75fa9f6decc089ae47beeef1db04aec4ed514bcc'/>
<id>urn:sha1:75fa9f6decc089ae47beeef1db04aec4ed514bcc</id>
<content type='text'>
This commit is extracted from #122036 and adds a new directive to the
`compiletest` test runner, `//@ needs-threads`. This is intended to
capture the need that a target must implement threading to execute a
specific test, typically one that uses `std::thread`. This is primarily
done for WebAssembly targets which currently do not have threads by
default. This enables transitioning a lot of `//@ ignore-wasm*`-style
ignores into a more self-documenting `//@ needs-threads` directive.
Additionally the `wasm32-wasi-preview1-threads` target, for example,
does actually have threads, but isn't tested in CI at this time. This
change enables running these tests for that target, but not other wasm
targets.
</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>Account for non-overlapping unmet trait bounds in suggestion</title>
<updated>2024-01-30T19:26:13+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-01-30T18:10:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5c414094ac8d41038819dd982403f4e3de05d93c'/>
<id>urn:sha1:5c414094ac8d41038819dd982403f4e3de05d93c</id>
<content type='text'>
When a method not found on a type parameter could have been provided by any
of multiple traits, suggest each trait individually, instead of a single
suggestion to restrict the type parameter with *all* of them.

Before:

```
error[E0599]: the method `cmp` exists for reference `&amp;T`, but its trait bounds were not satisfied
  --&gt; $DIR/method-on-unbounded-type-param.rs:5:10
   |
LL |     (&amp;a).cmp(&amp;b)
   |          ^^^ method cannot be called on `&amp;T` due to unsatisfied trait bounds
   |
   = note: the following trait bounds were not satisfied:
           `T: Ord`
           which is required by `&amp;T: Ord`
           `&amp;T: Iterator`
           which is required by `&amp;mut &amp;T: Iterator`
           `T: Iterator`
           which is required by `&amp;mut T: Iterator`
help: consider restricting the type parameters to satisfy the trait bounds
   |
LL | fn g&lt;T&gt;(a: T, b: T) -&gt; std::cmp::Ordering where T: Iterator, T: Ord {
   |                                           +++++++++++++++++++++++++
```

After:

```
error[E0599]: the method `cmp` exists for reference `&amp;T`, but its trait bounds were not satisfied
  --&gt; $DIR/method-on-unbounded-type-param.rs:5:10
   |
LL |     (&amp;a).cmp(&amp;b)
   |          ^^^ method cannot be called on `&amp;T` due to unsatisfied trait bounds
   |
   = note: the following trait bounds were not satisfied:
           `T: Ord`
           which is required by `&amp;T: Ord`
           `&amp;T: Iterator`
           which is required by `&amp;mut &amp;T: Iterator`
           `T: Iterator`
           which is required by `&amp;mut T: Iterator`
   = help: items from traits can only be used if the type parameter is bounded by the trait
help: the following traits define an item `cmp`, perhaps you need to restrict type parameter `T` with one of them:
   |
LL | fn g&lt;T: Ord&gt;(a: T, b: T) -&gt; std::cmp::Ordering {
   |       +++++
LL | fn g&lt;T: Iterator&gt;(a: T, b: T) -&gt; std::cmp::Ordering {
   |       ++++++++++
```

Fix #108428.
</content>
</entry>
<entry>
<title>Use only one label for multiple unsatisfied bounds on type (typeck)</title>
<updated>2024-01-26T20:47:19+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-01-26T20:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=757b726f8689c508dbd3979ea6b547a74d6481b9'/>
<id>urn:sha1:757b726f8689c508dbd3979ea6b547a74d6481b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove redundant imports</title>
<updated>2023-12-10T02:56:22+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2023-11-10T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ae34194c586eea3614d3216322053d2e8e7b37'/>
<id>urn:sha1:40ae34194c586eea3614d3216322053d2e8e7b37</id>
<content type='text'>
detects redundant imports that can be eliminated.

for #117772 :

In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
</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>
</feed>
