Struct rustc_typeck::coherence::unsafety::UnsafetyChecker [−][src]
struct UnsafetyChecker<'cx, 'tcx: 'cx> { tcx: TyCtxt<'cx, 'tcx, '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?
Fields
tcx: TyCtxt<'cx, 'tcx, '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?
Methods
impl<'cx, 'tcx, 'v> UnsafetyChecker<'cx, 'tcx>
[src]
impl<'cx, 'tcx, 'v> UnsafetyChecker<'cx, 'tcx>
fn check_unsafety_coherence(
&mut self,
item: &'v Item,
impl_generics: Option<&Generics>,
unsafety: Unsafety,
polarity: ImplPolarity
)
[src]
fn check_unsafety_coherence(
&mut self,
item: &'v Item,
impl_generics: Option<&Generics>,
unsafety: Unsafety,
polarity: ImplPolarity
)
🔬 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?
Trait Implementations
impl<'cx, 'tcx, 'v> ItemLikeVisitor<'v> for UnsafetyChecker<'cx, 'tcx>
[src]
impl<'cx, 'tcx, 'v> ItemLikeVisitor<'v> for UnsafetyChecker<'cx, 'tcx>
fn visit_item(&mut self, item: &'v Item)
[src]
fn visit_item(&mut self, item: &'v Item)
🔬 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?
fn visit_trait_item(&mut self, _trait_item: &TraitItem)
[src]
fn visit_trait_item(&mut self, _trait_item: &TraitItem)
🔬 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?
fn visit_impl_item(&mut self, _impl_item: &ImplItem)
[src]
fn visit_impl_item(&mut self, _impl_item: &ImplItem)
🔬 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<'cx, 'tcx> !Send for UnsafetyChecker<'cx, 'tcx>
impl<'cx, 'tcx> !Send for UnsafetyChecker<'cx, 'tcx>
impl<'cx, 'tcx> !Sync for UnsafetyChecker<'cx, 'tcx>
impl<'cx, 'tcx> !Sync for UnsafetyChecker<'cx, 'tcx>