pub(crate) struct RefineMode {
bb_envs: FxHashMap<CheckerId, FxHashMap<BasicBlock, BasicBlockEnv>>,
}Fields§
§bb_envs: FxHashMap<CheckerId, FxHashMap<BasicBlock, BasicBlockEnv>>Trait Implementations§
Source§impl Mode for RefineMode
impl Mode for RefineMode
const NAME: &str = "refine"
fn enter_basic_block<'ck, 'genv, 'tcx>( ck: &mut Checker<'ck, 'genv, 'tcx, RefineMode>, infcx: &mut InferCtxt<'_, 'genv, 'tcx>, bb: BasicBlock, ) -> TypeEnv<'ck>
fn check_goto_join_point( ck: &mut Checker<'_, '_, '_, RefineMode>, infcx: InferCtxt<'_, '_, '_>, env: TypeEnv<'_>, terminator_span: Span, target: BasicBlock, ) -> Result<bool, CheckerError>
fn clear(_ck: &mut Checker<'_, '_, '_, RefineMode>, _bb: BasicBlock)
Auto Trait Implementations§
impl DynSend for RefineMode
impl DynSync for RefineMode
impl Freeze for RefineMode
impl RefUnwindSafe for RefineMode
impl Send for RefineMode
impl Sync for RefineMode
impl Unpin for RefineMode
impl UnsafeUnpin for RefineMode
impl UnwindSafe for RefineMode
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> ⓘ
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