about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/passes.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-11-25 11:26:36 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-12-01 17:04:02 +0300
commit6cd4dd3091dfe0ce4a728bd9ae177361fba23736 (patch)
tree79c7ac3b2466884bcb5725a99d7433de0192457d /compiler/rustc_lint/src/passes.rs
parent9c0bc3028a575eece6d4e8fbc6624cb95b9c9893 (diff)
downloadrust-6cd4dd3091dfe0ce4a728bd9ae177361fba23736.tar.gz
rust-6cd4dd3091dfe0ce4a728bd9ae177361fba23736.zip
rustc_hir: Relax lifetime requirements on `Visitor::visit_path`
Diffstat (limited to 'compiler/rustc_lint/src/passes.rs')
-rw-r--r--compiler/rustc_lint/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/passes.rs b/compiler/rustc_lint/src/passes.rs
index 1c6a057d1a8..fc11d092ccb 100644
--- a/compiler/rustc_lint/src/passes.rs
+++ b/compiler/rustc_lint/src/passes.rs
@@ -44,7 +44,7 @@ macro_rules! late_lint_methods {
             fn check_struct_def(a: &$hir hir::VariantData<$hir>);
             fn check_field_def(a: &$hir hir::FieldDef<$hir>);
             fn check_variant(a: &$hir hir::Variant<$hir>);
-            fn check_path(a: &$hir hir::Path<$hir>, b: hir::HirId);
+            fn check_path(a: &hir::Path<$hir>, b: hir::HirId);
             fn check_attribute(a: &$hir ast::Attribute);
 
             /// Called when entering a syntax node that can have lint attributes such