Don't re-export clippy_utils::*

This commit is contained in:
Cameron Steffen 2021-03-16 11:06:34 -05:00
parent 8af28840d2
commit 0743e841f0
243 changed files with 344 additions and 399 deletions

View file

@ -1,4 +1,5 @@
use clippy_utils::diagnostics::span_lint_and_help;
use clippy_utils::paths;
use clippy_utils::ty::{is_normalizable, is_type_diagnostic_item, match_type};
use if_chain::if_chain;
use rustc_hir::{self as hir, HirId, ItemKind, Node};
@ -9,8 +10,6 @@ use rustc_span::sym;
use rustc_target::abi::LayoutOf as _;
use rustc_typeck::hir_ty_to_ty;
use crate::utils::paths;
declare_clippy_lint! {
/// **What it does:** Checks for maps with zero-sized value types anywhere in the code.
///