|
1 | 1 | use crate::utils::paths; |
2 | 2 | use crate::utils::sugg; |
3 | 3 | use crate::utils::{ |
4 | | - get_arg_name, get_parent_expr, get_trait_def_id, has_iter_method, implements_trait, in_macro, is_copy, is_expn_of, is_self, |
5 | | - is_self_ty, iter_input_pats, last_path_segment, match_def_path, match_path, match_qpath, match_trait_method, |
6 | | - match_type, match_var, method_calls, method_chain_args, remove_blocks, return_ty, same_tys, single_segment_path, |
7 | | - snippet, snippet_with_applicability, snippet_with_macro_callsite, span_lint, span_lint_and_sugg, |
8 | | - span_lint_and_then, span_note_and_lint, walk_ptrs_ty, walk_ptrs_ty_depth, SpanlessEq, |
| 4 | + get_arg_name, get_parent_expr, get_trait_def_id, has_iter_method, implements_trait, in_macro, is_copy, is_expn_of, |
| 5 | + is_self, is_self_ty, iter_input_pats, last_path_segment, match_def_path, match_path, match_qpath, |
| 6 | + match_trait_method, match_type, match_var, method_calls, method_chain_args, remove_blocks, return_ty, same_tys, |
| 7 | + single_segment_path, snippet, snippet_with_applicability, snippet_with_macro_callsite, span_lint, |
| 8 | + span_lint_and_sugg, span_lint_and_then, span_note_and_lint, walk_ptrs_ty, walk_ptrs_ty_depth, SpanlessEq, |
9 | 9 | }; |
10 | 10 | use if_chain::if_chain; |
11 | 11 | use matches::matches; |
|
0 commit comments