warning: unresolved link to `mem::forget`
kernel test robot
build bottree: https://github.com/AsahiLinux/linux bits/250-aop head: fc24f7e1a3f10a336872c79b3772930633b0205c commit: cf701c5eec7a0ee9e9f6b28a60be6dfb2d6d9b16 [7/50] rust: alloc: vec: Import .drain() / Drain from rust library config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261126/[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/20261126/[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: unresolved link to `mem::forget`
--> rust/kernel/alloc/kvec.rs:822:11
|
822 | /// [mem::forget], for example), the vector may have lost and leaked
| ^^^^^^^^^^^ no item named mem in scope
|
= note: #[warn(rustdoc::broken_intra_doc_links)] on by default
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki