Files
rust/tests/rustdoc-html
Jonathan Brouwer fa73a93bed Rollup merge of #158544 - bushrat011899:core_io_read, r=clarfonthey
Move `std::io::Read` to `alloc::io`

ACP: https://github.com/rust-lang/libs-team/issues/755
Tracking issue: https://github.com/rust-lang/rust/issues/154046
Split From: https://github.com/rust-lang/rust/pull/156527
~~Blocked On: https://github.com/rust-lang/rust/pull/158541~~

## Description

Moves `std::io::Read` to `alloc::io`. This is mostly a direct cut and paste, but with a large diff due to how many implementations need to be moved into `alloc`. Blocked on rust-lang/rust#158541.

There is some new code written for some of the `Read` implementations to account for the `no_global_oom_handling` configuration, since `Vec::extend_from_slice` and `String::push_str` are unavailable. I've highlighted all of these such instances with review comments for clarity.

---

## Notes

* No AI tooling of any kind was used during the creation of this PR.
* Please see https://github.com/rust-lang/rust/issues/154046#issuecomment-4416678427 for a review order and broader context for this PR.
2026-07-17 23:17:28 +02:00
..
2026-07-13 10:54:53 +02:00
2026-06-12 19:11:22 -04:00
2026-04-01 23:05:42 +01:00
2026-07-13 10:54:53 +02:00
…
2026-02-24 11:41:26 -05:00
2026-07-13 10:54:53 +02:00
2026-07-13 10:54:53 +02:00
2026-06-07 11:06:19 +03:00
…
…
…
…
2026-06-07 13:58:33 -04:00
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
2026-02-10 18:00:54 +00:00
…
…