about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2019-02-01 14:52:56 -0500
committerGitHub <noreply@github.com>2019-02-01 14:52:56 -0500
commita022d47a6bb005e928462820c31b84ba6c99e875 (patch)
treee743a06b13ef14fb80c0ed19bd91814d698f29a3
parent6e35b33bc3d128d18883c9a69f906a605f71bd61 (diff)
downloadrust-a022d47a6bb005e928462820c31b84ba6c99e875.tar.gz
rust-a022d47a6bb005e928462820c31b84ba6c99e875.zip
Update clippy_lints/src/types.rs
Co-Authored-By: avborhanian <avborhanian@gmail.com>
-rw-r--r--clippy_lints/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs
index e81df4af383..3574217306b 100644
--- a/clippy_lints/src/types.rs
+++ b/clippy_lints/src/types.rs
@@ -241,7 +241,7 @@ fn match_type_parameter(cx: &LateContext<'_, '_>, qpath: &QPath, path: &[&str])
 /// The parameter `is_local` distinguishes the context of the type; types from
 /// local bindings should only be checked for the `BORROWED_BOX` lint.
 #[allow(clippy::too_many_lines)]
-fn check_ty(cx: &LateContext<'_, '_>, ast_ty: &hir::Ty, is_local: bool) {
+fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) {
     if in_macro(ast_ty.span) {
         return;
     }