Function rustc::traits::specialize::to_pretty_impl_header [−][src]
fn to_pretty_impl_header(tcx: TyCtxt, impl_def_id: DefId) -> Option<String>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Recovers the "impl X for Y" signature from impl_def_id
and returns it as a
string.