Function clippy_utils::is_try
source ยท pub fn is_try<'tcx>(
cx: &LateContext<'_>,
expr: &'tcx Expr<'tcx>,
) -> Option<&'tcx Expr<'tcx>>
Expand description
Checks if a given expression is a match expression expanded from the ?
operator or the try
macro.