diff options
| author | bors <bors@rust-lang.org> | 2020-03-16 12:11:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-16 12:11:00 +0000 |
| commit | d556bb73df16f72fc5a169b4fa7d4ce79ecd76a2 (patch) | |
| tree | 2cdbe871989cf48bb5418e731fcf34e3f0e5c013 /clippy_lints/src/functions.rs | |
| parent | d8bcdac9de7882cbbffa7e02341ca32870d54017 (diff) | |
| parent | ba0884bee37dc386116a8ba87c33a602c1864d68 (diff) | |
Auto merge of #5321 - matthiaskrgr:rustup_31, r=phansch
rustup https://github.com/rust-lang/rust/pull/68944 changelog: none
Diffstat (limited to 'clippy_lints/src/functions.rs')
| -rw-r--r-- | clippy_lints/src/functions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/functions.rs b/clippy_lints/src/functions.rs index c43b2075b64..23e3371c5fb 100644 --- a/clippy_lints/src/functions.rs +++ b/clippy_lints/src/functions.rs @@ -561,7 +561,7 @@ impl<'a, 'tcx> intravisit::Visitor<'tcx> for DerefVisitor<'a, 'tcx> { intravisit::walk_expr(self, expr); } - fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<'_, Self::Map> { + fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> { intravisit::NestedVisitorMap::None } } @@ -624,7 +624,7 @@ impl<'a, 'tcx> intravisit::Visitor<'tcx> for StaticMutVisitor<'a, 'tcx> { } } - fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<'_, Self::Map> { + fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> { intravisit::NestedVisitorMap::None } } |
