Re: [PATCH 01/18] rust: condvar: avoid `pub` in example

From: Miguel Ojeda
Date: Mon Nov 10 2025 - 06:11:40 EST


On Mon, Nov 10, 2025 at 11:24 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> The unreachable_pub warning normally does not trigger for documentation
> tests since using `pub` in documentation tests is not wrong. So this
> sounds like a bug in our doc-test setup.

Yeah, we can allow the warning for doctests, that is easy.

In any case, this was needed for the future pin-init, not the current
one, so I should have probably removed it (we had a bigger branch with
the new pin-init).

Cheers,
Miguel