Specifically caused by https://github.com/rust-lang/rust/pull/67786
This commit is contained in:
parent
fa9b85d4df
commit
c5178e82b4
70 changed files with 83 additions and 79 deletions
|
@ -7,7 +7,7 @@ use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
|
|||
use rustc::ty::{self, Ty};
|
||||
use rustc_errors::Applicability;
|
||||
use rustc_session::declare_tool_lint;
|
||||
use syntax::source_map::Span;
|
||||
use rustc_span::source_map::Span;
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// **What it does:** Checks for usage of `&vec![..]` when using `&[..]` would
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue