pub fn contains_this_expr<N>(body: &N) -> boolwhere
    N: VisitWith<ThisVisitor>,
Expand description

This does not recurse into a function if this is changed by it.

e.g.

  • The body of an arrow expression is visited.
  • The body of a function expression is not visited.