Struct rustc_typeck::coherence::unsafety::UnsafetyChecker [−][src]
struct UnsafetyChecker<'tcx> {
tcx: TyCtxt<'tcx>,
}
Fields
tcx: TyCtxt<'tcx>
Implementations
fn check_unsafety_coherence<'v>(
&mut self,
item: &'v Item<'v>,
impl_generics: Option<&Generics<'_>>,
unsafety: Unsafety,
polarity: ImplPolarity
)
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UnsafetyChecker<'tcx>
impl<'tcx> !Send for UnsafetyChecker<'tcx>
impl<'tcx> !Sync for UnsafetyChecker<'tcx>
impl<'tcx> Unpin for UnsafetyChecker<'tcx>
impl<'tcx> !UnwindSafe for UnsafetyChecker<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes