Struct rustc_lint::builtin::UnsafeCode [−][src]
pub struct UnsafeCode;
Implementations
fn report_unsafe(
&self,
cx: &EarlyContext<'_>,
span: Span,
decorate: impl for<'a> FnOnce(LintDiagnosticBuilder<'a>)
)
Trait Implementations
fn check_poly_trait_ref(
&mut self,
_: &EarlyContext<'_>,
_: &PolyTraitRef,
_: &TraitBoundModifier
)
Auto Trait Implementations
impl RefUnwindSafe for UnsafeCode
impl Send for UnsafeCode
impl Sync for UnsafeCode
impl Unpin for UnsafeCode
impl UnwindSafe for UnsafeCode
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 0 bytes