3d43826e32
Factor out several utils, add `path_def_id` changelog: none This is generally an effort to reduce the total number of utils. `path_def_id` is added which I believe is more "cross-cutting" and also complements `path_to_local`. Best reviewed one commit at a time. Added: * `path_def_id` * `path_res` Removed: * `is_qpath_def_path` * `match_any_diagnostic_items` * `expr_path_res` * `single_segment_path` * `differing_macro_contexts` * `is_ty_param_lang_item` * `is_ty_param_diagnostic_item` * `get_qpath_generics` Renamed: * `path_to_res` to `def_path_res` * `get_qpath_generic_tys` to `qpath_generic_tys` CC `@Jarcho` since this relates to some of your work and you may have input. |
||
---|---|---|
.. | ||
empty_loop.rs | ||
explicit_counter_loop.rs | ||
explicit_into_iter_loop.rs | ||
explicit_iter_loop.rs | ||
for_kv_map.rs | ||
for_loops_over_fallibles.rs | ||
iter_next_loop.rs | ||
manual_flatten.rs | ||
manual_memcpy.rs | ||
mod.rs | ||
mut_range_bound.rs | ||
needless_collect.rs | ||
needless_range_loop.rs | ||
never_loop.rs | ||
same_item_push.rs | ||
single_element_loop.rs | ||
utils.rs | ||
while_immutable_condition.rs | ||
while_let_loop.rs | ||
while_let_on_iterator.rs |