Files
rust/tests/rustdoc-html
Jonathan Brouwer a1eaf4e5a3 Rollup merge of #106643 - WaffleLapkin:read_recursive, r=joshtriplett
Allow only implementing `Read::read_buf`

This PR allows users to only implement `Read::read_buf`, without the need for implementing `Read::read`. `rustc_must_implement_one_of` annotation ensures that **at least** one of the methods is implemented, so that the default impls don't create infinite recursion.

Note that `Read::read_buf` is unstable, so this doesn't change anything on stable, there you still need to implement `Read::read`, since you can't implement `Read::read_buf`. Thus, we don't expose `rustc_must_implement_one_of` to stable.

r? @thomcc
2026-08-02 16:19:29 +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-02-24 11:41:26 -05: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
…
…