pub fn matches_path(path: &Path, expect: &[&str]) -> bool
Determine if the trailing segments of a syn::Path match the expected identifiers.
syn::Path