fn def_id_matches_path( tcx: TyCtxt<'_>, def_id: DefId, expected_path: &[&str], ) -> bool
Check if definition matches a path