Struct rustc_passes::check_const::CheckConstTraitVisitor [−][src]
struct CheckConstTraitVisitor<'tcx> {
tcx: TyCtxt<'tcx>,
}
Fields
tcx: TyCtxt<'tcx>
Implementations
Trait Implementations
check for const trait impls, and errors if the impl uses provided/default functions of the trait being implemented; as those provided functions can be non-const.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for CheckConstTraitVisitor<'tcx>
impl<'tcx> !Send for CheckConstTraitVisitor<'tcx>
impl<'tcx> !Sync for CheckConstTraitVisitor<'tcx>
impl<'tcx> Unpin for CheckConstTraitVisitor<'tcx>
impl<'tcx> !UnwindSafe for CheckConstTraitVisitor<'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