Re: [PATCH v2] rust: doctest: fix line numbers after crate-level attributes

From: Richard Li

Date: Tue Dec 01 2026 - 08:33:16 EST


Hi,

This is my first Tested-by contribution to Rust for Linux. I reproduced the issue and verified the fix on x86_64 using QEMU/KVM. Regression testing also passed with all 363 Rust doctests.

Tested-by: Richard Li <r7568436@xxxxxxxxx>

Thanks,
Richard Li