struct CrateChecker<'genv, 'tcx> {
    genv: GlobalEnv<'genv, 'tcx>,
    cache: FixQueryCache,
}Fields§
§genv: GlobalEnv<'genv, 'tcx>§cache: FixQueryCacheImplementations§
Source§impl<'genv, 'tcx> CrateChecker<'genv, 'tcx>
 
impl<'genv, 'tcx> CrateChecker<'genv, 'tcx>
fn new(genv: GlobalEnv<'genv, 'tcx>) -> Self
pub(crate) fn encode_flux_items_in_lean(&self) -> Result<(), Error>
fn matches_def(&self, def_id: MaybeExternId, def: &str) -> bool
fn matches_file_path<F>(&self, def_id: MaybeExternId, matcher: F) -> bool
fn matches_pos(&self, def_id: MaybeExternId, line: usize, col: usize) -> bool
Sourcefn is_included(&self, def_id: MaybeExternId) -> bool
 
fn is_included(&self, def_id: MaybeExternId) -> bool
Check whether the def_id (or the file where def_id is defined)
is in the include pattern, and conservatively return true if
anything unexpected happens.
fn check_def_catching_bugs( &mut self, def_id: LocalDefId, ) -> Result<(), ErrorGuaranteed>
fn check_def(&mut self, def_id: LocalDefId) -> Result<(), ErrorGuaranteed>
Auto Trait Implementations§
impl<'genv, 'tcx> Freeze for CrateChecker<'genv, 'tcx>
impl<'genv, 'tcx> !RefUnwindSafe for CrateChecker<'genv, 'tcx>
impl<'genv, 'tcx> !Send for CrateChecker<'genv, 'tcx>
impl<'genv, 'tcx> !Sync for CrateChecker<'genv, 'tcx>
impl<'genv, 'tcx> Unpin for CrateChecker<'genv, 'tcx>
impl<'genv, 'tcx> !UnwindSafe for CrateChecker<'genv, '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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more