<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/explicit-tail-calls, branch automation/bors/try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-28T16:13:12+00:00</updated>
<entry>
<title>Rollup merge of #146675 - Jules-Bertholet:sync-nonexclusive, r=Mark-Simulacrum</title>
<updated>2025-09-28T16:13:12+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-28T16:13:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=750e902a751a8761ad0a9e8ba806c5c543d17e34'/>
<id>urn:sha1:750e902a751a8761ad0a9e8ba806c5c543d17e34</id>
<content type='text'>
Allow shared access to `Exclusive&lt;T&gt;` when `T: Sync`

Addresses libs-api request in https://github.com/rust-lang/rust/issues/98407#issuecomment-3299348713.

Adds the following trait impls to `Exclusive&lt;T&gt;`, all bounded on `T: Sync`:

- `AsRef&lt;T&gt;`
- `Clone`
- `Copy`
- `PartialEq`
- `StructuralPartialEq`
- `Eq`
- `Hash`
- `PartialOrd`
- `Ord`
- `Fn`

``@rustbot`` label T-libs-api
</content>
</entry>
<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>Bless UI tests</title>
<updated>2025-09-21T21:26:39+00:00</updated>
<author>
<name>Jules Bertholet</name>
<email>julesbertholet@quoi.xyz</email>
</author>
<published>2025-09-21T21:26:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1d6e000b500bd23a9f75716a161bc015ab49273'/>
<id>urn:sha1:f1d6e000b500bd23a9f75716a161bc015ab49273</id>
<content type='text'>
</content>
</entry>
<entry>
<title>c-variadic: check that c-variadic functions cannot be tail-called</title>
<updated>2025-09-13T19:05:12+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-09-13T18:50:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d28c31a60069d6c6019341edd2b2b26d903f081c'/>
<id>urn:sha1:d28c31a60069d6c6019341edd2b2b26d903f081c</id>
<content type='text'>
as far as I can see this was not tested, though the error message was already implemented
</content>
</entry>
<entry>
<title>Defer tail call ret ty equality to check_tail_calls</title>
<updated>2025-08-19T20:16:19+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-08-19T20:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a088fd5847b1b24733011fcaab87dfc49853eec'/>
<id>urn:sha1:6a088fd5847b1b24733011fcaab87dfc49853eec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145012 - Kivooeo:fun-problem-fun-fix, r=compiler-errors</title>
<updated>2025-08-15T06:16:35+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-15T06:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=711034f7a1b11472c63b479c150767875c9c2aa6'/>
<id>urn:sha1:711034f7a1b11472c63b479c150767875c9c2aa6</id>
<content type='text'>
Tail call diagnostics to include lifetime info

Fixes https://github.com/rust-lang/rust/issues/144957

r? ```@WaffleLapkin``` ```@compiler-errors```
</content>
</entry>
<entry>
<title>Rollup merge of #144865 - WaffleLapkin:track-tail, r=lqd</title>
<updated>2025-08-15T06:16:31+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-15T06:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44eb7a167c9df395c803bf113a933f668b4c278a'/>
<id>urn:sha1:44eb7a167c9df395c803bf113a933f668b4c278a</id>
<content type='text'>
Fix tail calls to `#[track_caller]` functions

We want `#[track_caller]` to be semver independent, i.e. it should not be a breaking change to add or remove it. Since it changes ABI of a function (adding an additional argument) we have to be careful to preserve this property when adding tail calls.

The only way to achieve this that I can see is:
- we forbid tail calls in functions which are marked with `#[track_caller]` (already implemented)
- tail-calling a `#[track_caller]` marked function downgrades the tail-call to a normal call (or equivalently tail-calls the shim made by fn def to fn ptr cast) (this pr)

Ideally the downgrade would be performed by a MIR pass, but that requires post mono MIR opts (cc ```@saethlin,``` rust-lang/rust#131650). For now I've changed code in cg_ssa to accomodate this behaviour (+ added a hack to mono collector so that the shim is actually generated)

Additionally I added a lint, although I don't think it's strictly necessary.

Alternative to rust-lang/rust#144762 (and thus closes rust-lang/rust#144762)
Fixes https://github.com/rust-lang/rust/issues/144755
</content>
</entry>
<entry>
<title>fixed diagnostic</title>
<updated>2025-08-14T17:28:50+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-08-06T16:49:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51df1dad6c7465395a8ac3e6c31b04468ba347b4'/>
<id>urn:sha1:51df1dad6c7465395a8ac3e6c31b04468ba347b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix tail calls to `#[track_caller]` functions</title>
<updated>2025-08-13T00:26:52+00:00</updated>
<author>
<name>Waffle Lapkin</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2025-08-03T15:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85d1c89e0fe2c9db253c6e4e53a19302584a2dfd'/>
<id>urn:sha1:85d1c89e0fe2c9db253c6e4e53a19302584a2dfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144650 - Borgerr:additional-tce-tests, r=WaffleLapkin,tgross35</title>
<updated>2025-08-07T10:49:45+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-07T10:49:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3636042664c9d5fade6a13079e0fe0ea19bd47df'/>
<id>urn:sha1:3636042664c9d5fade6a13079e0fe0ea19bd47df</id>
<content type='text'>
Additional tce tests

r? `@oli-obk`

Adds known-bug tests for LLVM emissions regarding indirect operands for TCE. Also includes a test, `indexer.rs`, referring to function_table behavior described by the RFC.

Depends on rust-lang/rust#144232

Closes rust-lang/rust#144293
</content>
</entry>
</feed>
