warning: could not parse code block as Rust code
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git test/sound-rust-v7.3 head: 070444a8abf14da700680a5331d0a95cd11e578b commit: edc992b67167295cef057cda20bae7ea553e8fac [39/56] rust: usb: add ALSA-specific USB abstraction extensions config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261106/[email protected]/config) compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) rustc: rustc 1.96.0 (ac68faa20 2026-05-25) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> warning: could not parse code block as Rust code --> rust/kernel/usb.rs:1463:5 | 1463 | /// ```ignore | _____^ 1464 | | /// Returns the USB interface with the given interface number, if any. 1465 | | /// 1466 | | /// This is a thin wrapper around `usb_ifnum_to_if`, needed by audio class ... | 1471 | | /// The returned reference borrows from the device; the interface pointer is 1472 | | /// valid as long as the USB device is bound. | |_____________________________________________^ |
help: ignore code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text --> rust/kernel/usb.rs:1463:5
|
1463 | /// ```ignore
| ^^^
= note: error from rustc: unknown start of token: `
= note: error from rustc: unknown start of token: `
= note: #[warn(rustdoc::invalid_rust_codeblocks)] on by default
--
>> warning: Rust code block is empty
--> rust/kernel/usb.rs:1517:5
|
1517 | /// ```
| ^^^
|
help: mark blocks that do not contain Rust code as text |
1517 | /// ```text
| ++++
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki