From 325d0b69d2dffccecf48c5d7975ccd100141e1f5 Mon Sep 17 00:00:00 2001
From: Nick Torres <nickrtorres@icloud.com>
Date: Sat, 4 Apr 2020 15:02:38 -0700
Subject: [PATCH] result_map_or_into: fix dogfood_clippy error => {h,l}int

---
 clippy_lints/src/methods/mod.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index 9ff669515cf..7f4964da72e 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -2559,7 +2559,7 @@ fn lint_map_or_none<'a, 'tcx>(
         return;
     }
 
-    let (lint, msg, instead, hint) = {
+    let (lint_name, msg, instead, hint) = {
         let default_arg_is_none = if let hir::ExprKind::Path(ref qpath) = map_or_args[1].kind {
             match_qpath(qpath, &paths::OPTION_NONE)
         } else {
@@ -2606,7 +2606,7 @@ fn lint_map_or_none<'a, 'tcx>(
 
     span_lint_and_sugg(
         cx,
-        lint,
+        lint_name,
         expr.span,
         msg,
         instead,