Trait rustc::ty::ToPolyTraitRef
[−]
[src]
pub trait ToPolyTraitRef<'tcx> { fn to_poly_trait_ref(&self) -> PolyTraitRef<'tcx>; }
🔬 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?
Required Methods
fn to_poly_trait_ref(&self) -> PolyTraitRef<'tcx>
🔬 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?
Implementors
impl<'tcx> ToPolyTraitRef<'tcx> for TraitRef<'tcx>
impl<'tcx> ToPolyTraitRef<'tcx> for PolyTraitPredicate<'tcx>