<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src/error.rs, branch 1.90.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.90.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.90.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-04T11:52:17+00:00</updated>
<entry>
<title>clippy fix: indentation</title>
<updated>2025-07-04T11:52:17+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-07-04T11:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a1b52acbf44f55f7458dd38b260479843fe3810'/>
<id>urn:sha1:1a1b52acbf44f55f7458dd38b260479843fe3810</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect more cases of unused_parens around types</title>
<updated>2025-07-01T06:56:20+00:00</updated>
<author>
<name>Benjamin Schulz</name>
<email>benjamin.schulz@sap.com</email>
</author>
<published>2025-06-04T17:03:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d6764a45bd05913e7f34a8fbba12bf384b0269a'/>
<id>urn:sha1:7d6764a45bd05913e7f34a8fbba12bf384b0269a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove #[cfg(not(test))] gates in core</title>
<updated>2025-03-06T21:21:59+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-03-06T02:14:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=638b226a6ab5c5c784955068f57ae249e0ed0f92'/>
<id>urn:sha1:638b226a6ab5c5c784955068f57ae249e0ed0f92</id>
<content type='text'>
These gates are unnecessary now that unit tests for `core` are in a
separate package, `coretests`, instead of in the same files as the
source code. They previously prevented the two `core` versions from
conflicting with each other.
</content>
</entry>
<entry>
<title>update version placeholders</title>
<updated>2025-02-18T16:50:21+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2025-02-17T17:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fdba8a7c47398e8bd99cb22ede199bf9a0167eaf'/>
<id>urn:sha1:fdba8a7c47398e8bd99cb22ede199bf9a0167eaf</id>
<content type='text'>
(cherry picked from commit e4840ce59bdddb19394df008c5c26d9c493725f8)
</content>
</entry>
<entry>
<title>Add an example for std::error::Error</title>
<updated>2025-02-16T08:14:41+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-02-16T07:49:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f396a3107507bb1925eba5a429da6adc40a06d61'/>
<id>urn:sha1:f396a3107507bb1925eba5a429da6adc40a06d61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize `get_many_mut` as `get_disjoint_mut`</title>
<updated>2025-01-28T14:59:31+00:00</updated>
<author>
<name>Pavel Grigorenko</name>
<email>GrigorenkoPV@ya.ru</email>
</author>
<published>2024-12-21T22:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1abc85356209580bba5688ea1dadeb9fa8a90719'/>
<id>urn:sha1:1abc85356209580bba5688ea1dadeb9fa8a90719</id>
<content type='text'>
* Renames the methods:
	* `get_many_mut` -&gt; `get_disjoint_mut`
	* `get_many_unchecked_mut` -&gt; `get_disjoint_unchecked_mut`
* Does not rename the feature flag: `get_many_mut`
* Marks the feature as stable
* Renames some helper stuff:
	* `GetManyMutError` -&gt; `GetDisjointMutError`
	* `GetManyMutIndex` -&gt; `GetDisjointMutIndex`
	* `get_many_mut_helpers` -&gt; `get_disjoint_mut_helpers`
	* `get_many_check_valid` -&gt; `get_disjoint_check_valid`

This only touches slice methods.
HashMap's methods and feature gates are not renamed here
(nor are they stabilized).
</content>
</entry>
<entry>
<title>Update includes in '/library/core/src/error.rs';</title>
<updated>2024-12-13T11:46:20+00:00</updated>
<author>
<name>Gabriel Bjørnager Jensen</name>
<email>gabriel@achernar.io</email>
</author>
<published>2024-12-13T11:20:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38eb608a4302ac7895a29bb715e881b8021f11ee'/>
<id>urn:sha1:38eb608a4302ac7895a29bb715e881b8021f11ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change `GetManyMutError` to match T-libs-api decision</title>
<updated>2024-11-28T21:34:47+00:00</updated>
<author>
<name>Chayim Refael Friedman</name>
<email>chayimfr@gmail.com</email>
</author>
<published>2024-11-28T21:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fa87a3e88942e407a2214728bb466620f538d13d'/>
<id>urn:sha1:fa87a3e88942e407a2214728bb466620f538d13d</id>
<content type='text'>
That is, differentiate between out-of-bounds and overlapping indices, and remove the generic parameter `N`.

I also exported `GetManyMutError` from `alloc` (and `std`), which was apparently forgotten.

Changing the error to carry additional details means LLVM no longer generates separate short-circuiting branches for the checks, instead it generates one branch at the end. I therefore changed the  code to use early returns to make LLVM generate jumps. Benchmark results between the approaches are somewhat mixed, but I chose this approach because it is significantly faster with ranges and also faster with `unwrap()`.
</content>
</entry>
<entry>
<title>Library: Rename "object safe" to "dyn compatible"</title>
<updated>2024-10-09T16:48:29+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-09-25T11:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e08dc0491a9069681b123bbe27eb388a7861a351'/>
<id>urn:sha1:e08dc0491a9069681b123bbe27eb388a7861a351</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove cfg(test) from library/core</title>
<updated>2024-08-26T00:04:26+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-08-25T21:53:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4f3ef2ac90d957c5b36e1d7e662dba1f7b533db8'/>
<id>urn:sha1:4f3ef2ac90d957c5b36e1d7e662dba1f7b533db8</id>
<content type='text'>
</content>
</entry>
</feed>
