On Thu, Dec 11, 2025 at 7:22 PM Gary Guo gary@kernel.org wrote:
From: Gary Guo gary@garyguo.net
When the `#![allow]` line was added, the doctest line number anchor isn't updated which causes the line number printed in kunit test to be off-by-one.
Fixes: ab844cf32058 ("rust: allow `unreachable_pub` for doctests") Signed-off-by: Gary Guo gary@garyguo.net
Applied to `rust-fixes` -- thanks everyone!
Cheers, Miguel