pub struct Move001;Expand description
MOVE-001 — Suspicious move-after-use heuristic (Warning only).
Trait Implementations§
Source§impl AuditRule for Move001
impl AuditRule for Move001
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description of what the rule checks.
Source§fn check(
&self,
scans: &[FnScan],
_ctx: &AuditContext<'_>,
report: &mut AuditReport,
)
fn check( &self, scans: &[FnScan], _ctx: &AuditContext<'_>, report: &mut AuditReport, )
Run the rule over the scanned functions and record findings.
Auto Trait Implementations§
impl Freeze for Move001
impl RefUnwindSafe for Move001
impl Send for Move001
impl Sync for Move001
impl Unpin for Move001
impl UnsafeUnpin for Move001
impl UnwindSafe for Move001
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more