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 UnsafeCodeimpl Send for UnsafeCodeimpl Sync for UnsafeCodeimpl Unpin for UnsafeCodeimpl UnwindSafe for UnsafeCodeBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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