[−][src]Struct rustc_mir_build::lints::Search
Fields
tcx: TyCtxt<'tcx>body: &'mir Body<'tcx>trait_substs: &'tcx [GenericArg<'tcx>]reachable_recursive_calls: Vec<Span>Implementations
impl<'mir, 'tcx> Search<'mir, 'tcx>[src]
pub(in lints) fn is_recursive_call(
&self,
func: &Operand<'tcx>
) -> bool[src]
&self,
func: &Operand<'tcx>
) -> bool
Returns true if func refers to the function we are searching in.
Trait Implementations
impl<'mir, 'tcx> TriColorVisitor<&'mir Body<'tcx>> for Search<'mir, 'tcx>[src]
type BreakVal = NonRecursive
The value returned by this search.
pub fn node_examined(
&mut self,
bb: BasicBlock,
prior_status: Option<NodeStatus>
) -> ControlFlow<Self::BreakVal>[src]
&mut self,
bb: BasicBlock,
prior_status: Option<NodeStatus>
) -> ControlFlow<Self::BreakVal>
pub fn node_settled(&mut self, bb: BasicBlock) -> ControlFlow<Self::BreakVal>[src]
pub fn ignore_edge(&mut self, bb: BasicBlock, target: BasicBlock) -> bool[src]
Auto Trait Implementations
impl<'mir, 'tcx> !RefUnwindSafe for Search<'mir, 'tcx>
impl<'mir, 'tcx> !Send for Search<'mir, 'tcx>
impl<'mir, 'tcx> !Sync for Search<'mir, 'tcx>
impl<'mir, 'tcx> Unpin for Search<'mir, 'tcx> where
'tcx: 'mir,
'tcx: 'mir,
impl<'mir, 'tcx> !UnwindSafe for Search<'mir, 'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,