Move some utils to clippy_utils::source module

This commit is contained in:
Cameron Steffen
2021-03-14 18:17:44 -05:00
parent eb7f8d6089
commit 6fc52a63d1
152 changed files with 753 additions and 649 deletions

View File

@@ -1,5 +1,6 @@
use crate::utils::paths::FUTURE_FROM_GENERATOR;
use crate::utils::{match_function_call, position_before_rarrow, snippet_block, snippet_opt, span_lint_and_then};
use crate::utils::{match_function_call, span_lint_and_then};
use clippy_utils::source::{position_before_rarrow, snippet_block, snippet_opt};
use if_chain::if_chain;
use rustc_errors::Applicability;
use rustc_hir::intravisit::FnKind;