Rustup to rust-lang/rust#66878
This commit is contained in:
committed by
flip1995
parent
c66cca44c8
commit
98e433d70d
@@ -1,9 +1,10 @@
|
||||
use crate::utils::{is_copy, match_def_path, paths, qpath_res, span_note_and_lint};
|
||||
use if_chain::if_chain;
|
||||
use rustc::declare_lint_pass;
|
||||
use rustc::hir::*;
|
||||
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
|
||||
use rustc::ty;
|
||||
use rustc::{declare_lint_pass, declare_tool_lint};
|
||||
use rustc_session::declare_tool_lint;
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// **What it does:** Checks for calls to `std::mem::drop` with a reference
|
||||
|
||||
Reference in New Issue
Block a user