diff options
| author | Philipp Hansch <dev@phansch.net> | 2019-02-01 14:53:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-01 14:53:15 -0500 |
| commit | ac9472d16e5eee8b5cdf3adaf83b8ba5fdd354cd (patch) | |
| tree | 8251d0125df8bef251aa0968e3b061f5059ab584 | |
| parent | a022d47a6bb005e928462820c31b84ba6c99e875 (diff) | |
| download | rust-ac9472d16e5eee8b5cdf3adaf83b8ba5fdd354cd.tar.gz rust-ac9472d16e5eee8b5cdf3adaf83b8ba5fdd354cd.zip | |
Update clippy_lints/src/types.rs
Co-Authored-By: avborhanian <avborhanian@gmail.com>
| -rw-r--r-- | clippy_lints/src/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 3574217306b..1a48009655e 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -242,7 +242,7 @@ fn match_type_parameter(cx: &LateContext<'_, '_>, qpath: &QPath, path: &[&str]) /// local bindings should only be checked for the `BORROWED_BOX` lint. #[allow(clippy::too_many_lines)] fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) { - if in_macro(ast_ty.span) { + if in_macro(hir_ty.span) { return; } match hir_ty.node { |
