Loading
rust: fix off-by-one line number in rustdoc tests
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: ab844cf3 ("rust: allow `unreachable_pub` for doctests") Signed-off-by:Gary Guo <gary@garyguo.net> Reviewed-by:
David Gow <davidgow@google.com> Link: https://patch.msgid.link/20251211182208.2791025-1-gary@kernel.org Signed-off-by:
Miguel Ojeda <ojeda@kernel.org>