summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2025-12-11 21:22:07 +0300
committerMiguel Ojeda <ojeda@kernel.org>2026-01-05 01:51:35 +0300
commit946c5efe6a059f7d3303442644ee38384453ff68 (patch)
tree8c7b9537eff971833e3a5431aff1b33febf16935 /include/linux
parentf6b8d4b7e54ffa1492db476c299c7058603108cb (diff)
downloadlinux-946c5efe6a059f7d3303442644ee38384453ff68.tar.xz
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: ab844cf32058 ("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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions