Skip to main content

pat_has_ref

Function pat_has_ref 

Source
pub(crate) fn pat_has_ref(pat: &Pat) -> bool
Expand description

True when a pattern binds by reference (ref x), which cannot be handed between scopes.