1
Fork 0
Philipp Hansch 2020-01-04 11:00:00 +01:00
parent fa9b85d4df
commit c5178e82b4
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6
70 changed files with 83 additions and 79 deletions

View file

@ -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