<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/coroutine, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-17T17:42:28+00:00</updated>
<entry>
<title>Eagerly unify coroutine witness in old solver</title>
<updated>2025-07-17T17:42:28+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-05-29T12:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=216cdb7b22b637cef75b7225c642cb7587192643'/>
<id>urn:sha1:216cdb7b22b637cef75b7225c642cb7587192643</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add edition checks for some tests that had divergent output</title>
<updated>2025-06-25T17:02:26+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-06-09T17:52:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c3a033d7ffb0431c87cb02452d509e2b530a472'/>
<id>urn:sha1:8c3a033d7ffb0431c87cb02452d509e2b530a472</id>
<content type='text'>
In order to expose edition dependent divergences in some tests in the test suite, add explicit `edition` annotations. Some of these tests might require additional work to *avoid* the divergences, as they might have been unintentional. These are not exhaustive changes, purely opportunistic while looking at something else.
</content>
</entry>
<entry>
<title>Do not use `gen` as binding name</title>
<updated>2025-06-25T16:52:31+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-06-09T17:45:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1fb323dda177b0e39ef1c9dcdfc1190e7c107ee'/>
<id>urn:sha1:f1fb323dda177b0e39ef1c9dcdfc1190e7c107ee</id>
<content type='text'>
If we ever start testing every edition, using a new keyword unnecessarily will cause divergent output, so pre-emptively change `gen` into `generator`.
</content>
</entry>
<entry>
<title>Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors</title>
<updated>2025-06-14T09:27:10+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-06-14T09:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db23a76217490844d404ba5931798df74fd0268e'/>
<id>urn:sha1:db23a76217490844d404ba5931798df74fd0268e</id>
<content type='text'>
Unimplement unsized_locals

Implements https://github.com/rust-lang/compiler-team/issues/630

Tracking issue here: https://github.com/rust-lang/rust/issues/111942

Note that this just removes the feature, not the implementation, and does not touch `unsized_fn_params`. This is because it is required to support `Box&lt;dyn FnOnce()&gt;: FnOnce()`.

There may be more that should be removed (possibly in follow up prs)
- the `forget_unsized` function and `forget` intrinsic.
- the `unsized_locals` test directory; I've just fixed up the tests for now
- various codegen support for unsized values and allocas

cc ``@JakobDegen`` ``@oli-obk`` ``@Noratrieb`` ``@programmerjake`` ``@bjorn3``

``@rustbot`` label F-unsized_locals

Fixes rust-lang/rust#79409
</content>
</entry>
<entry>
<title>Update tests.</title>
<updated>2025-06-13T07:20:48+00:00</updated>
<author>
<name>Mara Bos</name>
<email>m-ou.se@m-ou.se</email>
</author>
<published>2025-06-13T07:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff5ba7aa74f53b8a9f2cf5024628f959ed1520cb'/>
<id>urn:sha1:ff5ba7aa74f53b8a9f2cf5024628f959ed1520cb</id>
<content type='text'>
</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 #141069 - chenyukang:yukang-fix-137486-suggest-mut, r=davidtwco</title>
<updated>2025-06-12T20:09:41+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-06-12T20:09:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bfd8abd8f3ebae17d212dafd9f5c55c13bf71764'/>
<id>urn:sha1:bfd8abd8f3ebae17d212dafd9f5c55c13bf71764</id>
<content type='text'>
Suggest mut when possbile for temporary value dropped while borrowed

Fixes #137486
</content>
</entry>
<entry>
<title>Make obligation cause code suggestions verbose</title>
<updated>2025-06-06T20:12:11+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-06-04T21:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac980cace8038f3fa3be1953092e92bede52a5bb'/>
<id>urn:sha1:ac980cace8038f3fa3be1953092e92bede52a5bb</id>
<content type='text'>
```
error[E0277]: `()` is not a future
  --&gt; $DIR/unnecessary-await.rs:28:10
   |
LL |     e!().await;
   |          ^^^^^ `()` is not a future
   |
   = help: the trait `Future` is not implemented for `()`
   = note: () must be a future or must implement `IntoFuture` to be awaited
   = note: required for `()` to implement `IntoFuture`
help: remove the `.await`
   |
LL -     e!().await;
LL +     e!();
   |
```
```
error[E0277]: the trait bound `String: Copy` is not satisfied
  --&gt; $DIR/const-fn-in-vec.rs:1:47
   |
LL | static _MAYBE_STRINGS: [Option&lt;String&gt;; 5] = [None; 5];
   |                                               ^^^^ the trait `Copy` is not implemented for `String`
   |
   = note: required for `Option&lt;String&gt;` to implement `Copy`
   = note: the `Copy` trait is required because this value will be copied for each element of the array
help: create an inline `const` block
   |
LL | static _MAYBE_STRINGS: [Option&lt;String&gt;; 5] = [const { None }; 5];
   |                                               +++++++      +
```
</content>
</entry>
<entry>
<title>Add `iter` macro</title>
<updated>2025-06-03T17:52:32+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-02-27T09:51:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5fbdfc3e1018072e0c272d19308d72ac5165f01a'/>
<id>urn:sha1:5fbdfc3e1018072e0c272d19308d72ac5165f01a</id>
<content type='text'>
This adds an `iter!` macro that can be used to create movable
generators.

This also adds a yield_expr feature so the `yield` keyword can be used
within iter! macro bodies. This was needed because several unstable
features each need `yield` expressions, so this allows us to stabilize
them separately from any individual feature.

Co-authored-by: Oli Scherer &lt;github35764891676564198441@oli-obk.de&gt;
Co-authored-by: Jieyou Xu &lt;jieyouxu@outlook.com&gt;
Co-authored-by: Travis Cross &lt;tc@traviscross.com&gt;
</content>
</entry>
<entry>
<title>Add missing `dyn` keywords to tests that do not test for them</title>
<updated>2025-06-02T09:02:50+00:00</updated>
<author>
<name>Lukas Wirth</name>
<email>lukas.wirth@ferrous-systems.com</email>
</author>
<published>2025-06-02T08:11:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aba70e8f9d66dce7d9980808cc1ce88fab967d3d'/>
<id>urn:sha1:aba70e8f9d66dce7d9980808cc1ce88fab967d3d</id>
<content type='text'>
This ensures that these tests can be run on editions other than 2015
</content>
</entry>
</feed>
