Skip to main content

Module expr

Module expr 

Source
Expand description

Lightweight expression helpers for lint analysis.

Enums§

Expr
A tiny expression model used for helper functions.

Functions§

def_id_of_expr_callee
Returns the callee path of a call expression, if one is present.
is_path_to
Tests whether a path matches the provided candidate segments.
recv_is_option_or_result
Returns true when the receiver is Option or Result regardless of module path.