Can be seen with this code:
#![feature(doc_cfg)]
#![doc(auto_cfg(hide(
target_pointer_width, values("64"),
)))]
pub trait Trait {
fn f(&self) {}
}
pub struct X;
#[doc(cfg(any(target_pointer_width = "64", target_arch = "wasm32")))]
#[doc(auto_cfg(hide(target_arch, values("wasm32"))))]
mod imp {
impl super::Trait for super::X { fn f(&self) {} }
}
Part of #43781.
Can be seen with this code:
Part of #43781.