| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-03-17 | branch 1.78: replace-version-placeholder | Mark Rousskov | -1/+1 | |
| 2024-02-21 | TryReserveError to ErrorKind::OutOfMemory | Kornel | -0/+12 | |
| 2024-01-19 | Update `std::io::Error::downcast` return type | Jiahao XU | -5/+31 | |
| and update its doc according to decision made by rust libs-api team. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2023-10-03 | Bump version placeholders | Mark Rousskov | -1/+1 | |
| 2023-09-22 | Fixes from PR | Ayush Singh | -4/+4 | |
| - Hide Docs - Use repr_unpacked error Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com> | ||||
| 2023-09-20 | PR feedback | Ben Kimock | -0/+1 | |
| 2023-09-06 | Auto merge of #115453 - ibraheemdev:patch-16, r=joshtriplett | bors | -3/+1 | |
| Stabilize `io_error_other` feature Per the FCP for https://github.com/rust-lang/rust/issues/91946. | ||||
| 2023-09-03 | Move RawOsError defination to sys | Ayush Singh | -1/+1 | |
| Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com> | ||||
| 2023-09-01 | stabilize `io_error_other` feature | Ibraheem Ahmed | -3/+1 | |
| 2023-08-25 | Add a new helper to avoid calling io::Error::kind | Ben Kimock | -0/+10 | |
| 2023-04-12 | remove some unneeded imports | KaDiWa | -1/+0 | |
| 2023-03-23 | Rollup merge of #106964 - ↵ | Matthias Krüger | -2/+10 | |
| workingjubilee:crouching-ioerror-hidden-documentation, r=ChrisDenton 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`` | ||||
| 2023-03-17 | Remove irrelevant docs on error kinds | Jubilee Young | -10/+4 | |
| 2023-02-08 | std: add tracking issue for `RawOsError` | joboet | -1/+1 | |
| 2023-01-31 | std: add type alias for raw OS errors | joboet | -4/+15 | |
| Implement rust-lang/libs-team#173. | ||||
| 2023-01-16 | Explain the "no-error" io::Error case | Jubilee Young | -2/+16 | |
| 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. | ||||
| 2022-10-14 | Rollup merge of #103067 - Nilstrieb:tidy-likes-the-alphabet, r=jackh726 | Matthias Krüger | -1/+2 | |
| More alphabetical sorting Sort and enforce a few more things. The biggest change here is sorting all target features. | ||||
| 2022-10-14 | Add some tidy-alphabetical | nils | -1/+2 | |
| 2022-10-14 | Tweak grammar | Josh Triplett | -1/+1 | |
| 2022-10-07 | Improved documentation for `std::io::Error` | StackOverflowExcept1on | -1/+2 | |
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2022-08-28 | Rollup merge of #100296 - BlackHoleFox:os-error-aliases, r=thomcc | Matthias Krüger | -0/+2 | |
| Add standard C error function aliases to last_os_error This aids the discoverability of `io::Error::last_os_error()` by linking to commonly used error number functions from C/C++. I've seen a few people not realize this exists, so hopefully this helps draw attention to the API to encourage using it over integer error codes. | ||||
| 2022-08-22 | Move error trait into core | Jane Losare-Lusby | -0/+9 | |
| 2022-08-08 | Add standard C error function aliases | BlackHoleFox | -0/+2 | |
| Aids the discoverability of `io::Error::last_os_error()` by linking to commonly used error number functions from C/C++. | ||||
| 2022-07-15 | Apply suggestions from code review | Jane Losare-Lusby | -1/+1 | |
| 2022-07-15 | Improve example of `downcast` | Jiahao XU | -3/+4 | |
| Co-authored-by: Jane Losare-Lusby <jlusby42@gmail.com> | ||||
| 2022-07-14 | Rename `std::io::Error::try_downcast_inner` to `downcast` | Jiahao XU | -4/+4 | |
| Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2022-06-23 | Use `unwrap` instead of `unwrap_unchecked` | Jiahao XU | -3/+7 | |
| Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2022-06-22 | Add new unstable API `Error::try_downgrade_inner` | Jiahao XU | -0/+57 | |
| Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2022-03-10 | Use implicit capture syntax in format_args | T-O-R-U-S | -7/+7 | |
| This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored). | ||||
| 2022-02-24 | word wrpa | Dylan DPC | -5/+5 | |
| 2022-02-24 | word wrpa | Dylan DPC | -6/+9 | |
| 2022-02-23 | Update library/std/src/io/error.rs | Dylan DPC | -1/+1 | |
| Co-authored-by: Josh Triplett <josh@joshtriplett.org> | ||||
| 2022-02-23 | add some more summary from pr discussion | Dylan DPC | -1/+1 | |
| 2022-02-23 | add some more summary from pr discussion | Dylan DPC | -2/+4 | |
| 2022-02-23 | add matching to errorkind | Dylan DPC | -0/+8 | |
| 2022-02-10 | Rename to `InvalidFilename` | Yuki Okushi | -5/+4 | |
| 2022-02-10 | Fix description of FilenameInvalid | Josh Triplett | -1/+1 | |
| Co-authored-by: Mara Bos <m-ou.se@m-ou.se> | ||||
| 2022-02-10 | Rename `FilenameTooLong` to `FilenameInvalid` | Yuki Okushi | -2/+2 | |
| 2022-02-04 | Add more tests for io::Error packing, and fix some comments that weren't ↵ | Thom Chiovoloni | -0/+4 | |
| quite accurate anymore | ||||
| 2022-02-04 | Update documentation somewhat | Thom Chiovoloni | -0/+10 | |
| 2022-02-04 | Elaborate some in the documentation and respond to some review comments | Thom Chiovoloni | -1/+0 | |
| 2022-02-04 | Address address comments, improve comments slightly | Thom Chiovoloni | -0/+7 | |
| 2022-02-04 | Optimize io::error::Repr layout on 64 bit targets. | Thom Chiovoloni | -4/+11 | |
| 2022-02-04 | Hide Repr details from io::Error, and rework `io::Error::new_const`. | Thom Chiovoloni | -65/+95 | |
| 2022-01-19 | `impl Display for io::ErrorKind` | Joshua Nelson | -1/+17 | |
| This avoids having to convert from `ErrorKind` to `Error` just to print the error message. | ||||
| 2021-12-14 | add `io::Error::other` constructor | Ibraheem Ahmed | -0/+27 | |
| 2021-12-02 | Document how `last_os_error` should be used | Chris Denton | -1/+7 | |
| 2021-11-21 | Mention std::io::Error::from(ErrorKind) in Error::new() docs | Georg Brandl | -0/+6 | |
| This conversion is not very discoverable for the cases where an error is required without extra payload. | ||||
| 2021-10-30 | Add #[must_use] to remaining std functions (A-N) | John Kugelman | -0/+5 | |
