Rustup to rust-lang/rust#67806
This commit is contained in:
parent
10cf141ebb
commit
39947992b5
153 changed files with 303 additions and 456 deletions
|
@ -1,10 +1,9 @@
|
|||
use crate::utils::span_lint;
|
||||
use rustc::declare_lint_pass;
|
||||
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
|
||||
use rustc::lint::{LateContext, LateLintPass};
|
||||
use rustc::ty::subst::Subst;
|
||||
use rustc::ty::{self, Ty};
|
||||
use rustc_hir::*;
|
||||
use rustc_session::declare_tool_lint;
|
||||
use rustc_session::{declare_lint_pass, declare_tool_lint};
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// **What it does:** Detects giving a mutable reference to a function that only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue