Function clippy_utils::check_proc_macro::span_matches_pat
source · Expand description
Checks if the start and the end of the span’s text matches the patterns. This will return false if the span crosses multiple files or if source is not available.