[PATCH 6.15 440/515] rust: workaround `rustdoc` target modifiers bug