fn assignment_member_depth(expr: &Expr<'_>) -> usize
Counts member links in an assignment RHS, through calls and indexes.