Function rustc_hir_analysis::check::region::is_binding_pat
source · Expand description
Returns true if pat match the P& non-terminal.
P& = ref X
| StructName { ..., P&, ... }
| VariantName(..., P&, ...)
| [ ..., P&, ... ]
| ( ..., P&, ... )
| ... "|" P& "|" ...
| box P&