pub struct PrepareTargets<'tcx> {
tcx: TyCtxt<'tcx>,
}Expand description
Analysis pass that finds all targets annotated with #[rapx::verify].
Fields§
§tcx: TyCtxt<'tcx>Implementations§
Source§impl<'tcx> PrepareTargets<'tcx>
impl<'tcx> PrepareTargets<'tcx>
Sourcefn log_function_target(
&self,
target: &FunctionTarget<'tcx>,
nested_under_struct: bool,
)
fn log_function_target( &self, target: &FunctionTarget<'tcx>, nested_under_struct: bool, )
Logs one function target and all contracts collected from its unsafe callees.
Sourcefn log_function_paths(&self, target: &FunctionTarget<'tcx>)
fn log_function_paths(&self, target: &FunctionTarget<'tcx>)
Logs unsafe callsites and loop-aware path skeletons for one target.
Trait Implementations§
Source§impl<'tcx> Analysis for PrepareTargets<'tcx>
impl<'tcx> Analysis for PrepareTargets<'tcx>
Auto Trait Implementations§
impl<'tcx> Freeze for PrepareTargets<'tcx>
impl<'tcx> !RefUnwindSafe for PrepareTargets<'tcx>
impl<'tcx> !Send for PrepareTargets<'tcx>
impl<'tcx> !Sync for PrepareTargets<'tcx>
impl<'tcx> Unpin for PrepareTargets<'tcx>
impl<'tcx> !UnwindSafe for PrepareTargets<'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
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