// option. This file may not be copied, modified, or distributed
// except according to those terms.
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use crate::rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use crate::rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use crate::utils::{is_copy, match_def_path, opt_def_id, paths, span_note_and_lint};
use crate::utils::{is_copy, match_def_path, opt_def_id, paths, span_note_and_lint};
/// **What it does:** Checks for calls to `std::mem::drop` with a reference
/// instead of an owned value.
/// **What it does:** Checks for calls to `std::mem::drop` with a reference
/// instead of an owned value.