<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/io/error.rs, branch 1.71.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.71.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.71.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-04-12T17:27:18+00:00</updated>
<entry>
<title>remove some unneeded imports</title>
<updated>2023-04-12T17:27:18+00:00</updated>
<author>
<name>KaDiWa</name>
<email>kalle.wachsmuth@gmail.com</email>
</author>
<published>2022-08-09T00:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad2b34d0e37e2f968f226e2401bcb894207ca1c5'/>
<id>urn:sha1:ad2b34d0e37e2f968f226e2401bcb894207ca1c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #106964 - workingjubilee:crouching-ioerror-hidden-documentation, r=ChrisDenton</title>
<updated>2023-03-23T18:55:42+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-03-23T18:55:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aeabe34d79a61f772e64e5fba3f1f09d4a9c9e5e'/>
<id>urn:sha1:aeabe34d79a61f772e64e5fba3f1f09d4a9c9e5e</id>
<content type='text'>
Clarify `Error::last_os_error` can be weird

Fundamentally, querying the OS for error codes is a process that is deeply subject to the whims of chance and fortune. We can account for OS, but not for every combination of platform APIs. A compiled binary may not recognize new errors introduced years later. We should clarify a few especially odd situations, and what they mean: We can effectively promise nothing... if you ask for Rust to decode errors where none have occurred.

This allows removing mention of ErrorKind::Uncategorized.
That error variant is hidden deliberately, so we should not explicitly mention it.

This fixes #106937.

Since you had an opinion also: Does this solution seem acceptable?
r? ``@ChrisDenton``
</content>
</entry>
<entry>
<title>Remove irrelevant docs on error kinds</title>
<updated>2023-03-17T21:26:02+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2023-03-17T21:24:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f32fd8484d3282648dc18985b7d29abad2d6b70'/>
<id>urn:sha1:0f32fd8484d3282648dc18985b7d29abad2d6b70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: add tracking issue for `RawOsError`</title>
<updated>2023-02-08T11:35:27+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-02-08T11:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a5331146cc77b47ba431a3acf546bda15c9057c'/>
<id>urn:sha1:6a5331146cc77b47ba431a3acf546bda15c9057c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: add type alias for raw OS errors</title>
<updated>2023-01-31T16:23:35+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-01-31T16:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42cc28ac8b7de426b4ae615242acd0be1bfa9a58'/>
<id>urn:sha1:42cc28ac8b7de426b4ae615242acd0be1bfa9a58</id>
<content type='text'>
Implement rust-lang/libs-team#173.
</content>
</entry>
<entry>
<title>Explain the "no-error" io::Error case</title>
<updated>2023-01-17T04:58:15+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2023-01-17T03:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d927cc1941cce6f320640836941ca480e958ead'/>
<id>urn:sha1:2d927cc1941cce6f320640836941ca480e958ead</id>
<content type='text'>
Fundamentally, querying the OS for error codes is a process
that is deeply subject to the whims of chance and fortune.
We can account for OS, but not for every combination of platform APIs.
A compiled binary may not recognize new errors introduced years later.
We should clarify a few especially odd situations, and what they mean:
We can effectively promise nothing.

This allows removing mention of ErrorKind::Uncategorized.
That error variant is hidden quite deliberately, so we
should not explicitly mention it.
</content>
</entry>
<entry>
<title>Rollup merge of #103067 - Nilstrieb:tidy-likes-the-alphabet, r=jackh726</title>
<updated>2022-10-14T21:43:46+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-10-14T21:43:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a96f1a8a1eef38f024d6fcff932f55a2a760a395'/>
<id>urn:sha1:a96f1a8a1eef38f024d6fcff932f55a2a760a395</id>
<content type='text'>
More alphabetical sorting

Sort and enforce a few more things. The biggest change here is sorting all target features.
</content>
</entry>
<entry>
<title>Add some tidy-alphabetical</title>
<updated>2022-10-14T19:18:03+00:00</updated>
<author>
<name>nils</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-10-14T19:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c0062641d02940a66bc74b182aa924d141060c1'/>
<id>urn:sha1:3c0062641d02940a66bc74b182aa924d141060c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak grammar</title>
<updated>2022-10-14T11:17:07+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2022-10-14T11:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f95e8532222479c417fdf9fffc6ce1ab8cda3413'/>
<id>urn:sha1:f95e8532222479c417fdf9fffc6ce1ab8cda3413</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improved documentation for `std::io::Error`</title>
<updated>2022-10-07T12:42:05+00:00</updated>
<author>
<name>StackOverflowExcept1on</name>
<email>109800286+StackOverflowExcept1on@users.noreply.github.com</email>
</author>
<published>2022-10-07T12:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4cf30c0022a434718799b66cdf8911ad8030d0e1'/>
<id>urn:sha1:4cf30c0022a434718799b66cdf8911ad8030d0e1</id>
<content type='text'>
</content>
</entry>
</feed>
