Struct rustc_typeck::check::InheritedBuilder [−][src]
pub struct InheritedBuilder<'a, 'gcx: 'a + 'tcx, 'tcx: 'a> { infcx: InferCtxtBuilder<'a, 'gcx, 'tcx>, def_id: DefId, }
🔬 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?
Helper type of a temporary returned by Inherited::build(...). Necessary because we can't write the following bound: F: for<'b, 'tcx> where 'gcx: 'tcx FnOnce(Inherited<'b, 'gcx, 'tcx>).
Fields
infcx: InferCtxtBuilder<'a, 'gcx, '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?
def_id: DefId
🔬 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?
Methods
impl<'a, 'gcx, 'tcx> InheritedBuilder<'a, 'gcx, 'tcx>
[src]
impl<'a, 'gcx, 'tcx> InheritedBuilder<'a, 'gcx, 'tcx>
fn enter<F, R>(&'tcx mut self, f: F) -> R where
F: for<'b> FnOnce(Inherited<'b, 'gcx, 'tcx>) -> R,
[src]
fn enter<F, R>(&'tcx mut self, f: F) -> R where
F: for<'b> FnOnce(Inherited<'b, 'gcx, 'tcx>) -> R,
🔬 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?
Auto Trait Implementations
impl<'a, 'gcx, 'tcx> !Send for InheritedBuilder<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Send for InheritedBuilder<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Sync for InheritedBuilder<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Sync for InheritedBuilder<'a, 'gcx, 'tcx>