<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-10-01T16:42:36+00:00</updated>
<entry>
<title>Rollup merge of #147204 - camsteffen:array-windows-ref, r=joboet</title>
<updated>2025-10-01T16:42:36+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-10-01T16:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b905f9cb0ed7ddcde22f710f8d03733fe9b608b'/>
<id>urn:sha1:4b905f9cb0ed7ddcde22f710f8d03733fe9b608b</id>
<content type='text'>
Refactor ArrayWindows to use a slice

[Tracking issue](https://github.com/rust-lang/rust/issues/75027)
</content>
</entry>
<entry>
<title>Change ArrayWindows to use a slice</title>
<updated>2025-10-01T13:03:19+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-09-30T22:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5ade7647b7ec9080aa91e174f4b12a1eac8e9bd5'/>
<id>urn:sha1:5ade7647b7ec9080aa91e174f4b12a1eac8e9bd5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #146979 - npmccallum:nanosecs, r=Mark-Simulacrum</title>
<updated>2025-09-29T01:56:42+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-29T01:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5373eb12683174e3567067edbe03b704dc99a6cb'/>
<id>urn:sha1:5373eb12683174e3567067edbe03b704dc99a6cb</id>
<content type='text'>
constify Default on Nanoseconds
</content>
</entry>
<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>Rollup merge of #147095 - fmease:libprivrepr, r=dtolnay</title>
<updated>2025-09-28T07:15:29+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-28T07:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=641bedabb1834b47d6e3380b437d889ac3ecd458'/>
<id>urn:sha1:641bedabb1834b47d6e3380b437d889ac3ecd458</id>
<content type='text'>
Library: Remove remaining private `#[repr]` workarounds

With https://github.com/rust-lang/rust/pull/116882 finally merged, gating these `repr`s behind cfg `not(doc)` is no longer necessary to achieve a private repr.

Follow up to https://github.com/rust-lang/rust/pull/128046 (that was enabled via https://github.com/rust-lang/rust/pull/115439). With that, https://github.com/rust-lang/rust/pull/116743 is now fully realized at long last.

cc ``@dtolnay``
</content>
</entry>
<entry>
<title>Rollup merge of #147082 - danielverkamp:fmt-alternate-octal-binary-mixup, r=Noratrieb</title>
<updated>2025-09-28T07:15:27+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-28T07:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad864de2c3eb455c39419516bae13af07fc6b61f'/>
<id>urn:sha1:ad864de2c3eb455c39419516bae13af07fc6b61f</id>
<content type='text'>
formatting_options: fix alternate docs 0b/0o mixup

The descriptions of the alternate forms of Octal and Binary were swapped in the doc comment for FormattingOptions::alternate().
</content>
</entry>
<entry>
<title>Rollup merge of #147076 - joshuarayton:more-float-constants-issue, r=tgross35</title>
<updated>2025-09-27T19:26:00+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-27T19:26:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd2e18671d4eb0c2cf33965748c270a8ec358557'/>
<id>urn:sha1:bd2e18671d4eb0c2cf33965748c270a8ec358557</id>
<content type='text'>
update issue number for more_float_constants

Update issue number from https://github.com/rust-lang/rust/issues/103883 to https://github.com/rust-lang/rust/issues/146939

r? ``@tgross35``
</content>
</entry>
<entry>
<title>Rollup merge of #146037 - aapoalas:reborrow-lang-experiment, r=tmandry</title>
<updated>2025-09-27T19:25:56+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-27T19:25:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01c17f83cf9c129e2d4d27cb432cd5039ea86779'/>
<id>urn:sha1:01c17f83cf9c129e2d4d27cb432cd5039ea86779</id>
<content type='text'>
Introduce CoerceShared lang item and trait, and basic Reborrow tests

Part of rust-lang/rust#145612: This introduces the `CoerceShared` trait which is the `Reborrow` equivalent of a `&amp;mut T` -&gt; `&amp;T` coercion. The trait has a `Target` GAT which makes this (currently) unique in the `core/src/marker.rs`; I'm not sure if this can be considered problematic. Maybe this is not the way such things should be done at the marker trait level? Or maybe it is fine.

Improtantly, this PR introduces a battery of basic `Reborrow` and `CoerceShared` tests. These test the very basics of the feature; custom marker types intended to have exclusive semantics (`Custom&lt;'a&gt;(PhantomData&lt;&amp;'a mut ()&gt;)`), custom exclusive reference wrappers, and standard library exclusive reference wrappers (`Pin&lt;&amp;mut T&gt;` and `Option&lt;&amp;mut T&gt;`). None of these of course work since the implementation for `Reborrow` and `CoerceShared` is entirely missing, but this is the first step towards making these work.

Future PRs will introduce more tests, such as "recursive" reborrowing (ie. reborrowing structs that contain multiple reborrowable fields) and checks around the lifetime semantics of reborrowing ie. that a reborrow produces a new type with the same lifetime as the original.
</content>
</entry>
<entry>
<title>Library: Remove remaining private `#[repr]` workarounds</title>
<updated>2025-09-27T15:09:01+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-09-27T15:03:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35e582f9828a515c94946eb03910d563d6d38427'/>
<id>urn:sha1:35e582f9828a515c94946eb03910d563d6d38427</id>
<content type='text'>
Co-authored-by: David Tolnay &lt;dtolnay@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove `cfg(bootstrap)` for `doc_cfg` feature following #141925</title>
<updated>2025-09-27T09:29:49+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-06-10T15:44:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=254a2139f6c4b251d9210843d2e7d7952ef9f40d'/>
<id>urn:sha1:254a2139f6c4b251d9210843d2e7d7952ef9f40d</id>
<content type='text'>
</content>
</entry>
</feed>
