pub struct Checker<'a, 'tcx> {
pub analyzer: &'a mut Analyzer<'tcx>,
pub findings: CrateFindings,
notes: bool,
deny: bool,
}Fields§
§analyzer: &'a mut Analyzer<'tcx>§findings: CrateFindings§notes: bool§deny: boolImplementations§
Source§impl<'a, 'tcx> Checker<'a, 'tcx>
impl<'a, 'tcx> Checker<'a, 'tcx>
fn check_level(&mut self, function: DefId, chains: &[Chain])
fn check_prefix(&mut self, function: DefId, prefix: &Prefix)
Sourcefn check_interior(&mut self, function: DefId, chains: &[Chain])
fn check_interior(&mut self, function: DefId, chains: &[Chain])
Two chains that share a Cell, RefCell, Mutex or atomic interleave their updates.
fn report( &mut self, severity: Severity, kind: &str, function: DefId, span: Span, message: String, secondary: Option<(Span, String)>, )
pub fn write_findings(&self)
Auto Trait Implementations§
impl<'a, 'tcx> !DynSend for Checker<'a, 'tcx>
impl<'a, 'tcx> !DynSync for Checker<'a, 'tcx>
impl<'a, 'tcx> !RefUnwindSafe for Checker<'a, 'tcx>
impl<'a, 'tcx> !Send for Checker<'a, 'tcx>
impl<'a, 'tcx> !Sync for Checker<'a, 'tcx>
impl<'a, 'tcx> !UnwindSafe for Checker<'a, 'tcx>
impl<'a, 'tcx> Forget for Checker<'a, 'tcx>
impl<'a, 'tcx> Freeze for Checker<'a, 'tcx>
impl<'a, 'tcx> Move for Checker<'a, 'tcx>
impl<'a, 'tcx> Unpin for Checker<'a, 'tcx>
impl<'a, 'tcx> UnsafeUnpin for Checker<'a, 'tcx>
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