reproduce (this is a W=1 build): # https://github.com/Rust-for-Linux/linux/commit/d717ceeb6df82bf53e1f9f974306792981216538 git remote add rust https://github.com/Rust-for-Linux/linux git fetch --no-tags rust pr/1040 git checkout d717ceeb6df82bf53e1f9f974306792981216538 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash CLIPPY=1 rustdoc