Remove $hir argument from late_lint_methods!.

Because it's always `'tcx`.
This commit is contained in:
Nicholas Nethercote
2022-12-07 13:27:04 +11:00
parent e491d2b24d
commit 0c844730d3
2 changed files with 40 additions and 42 deletions

View File

@@ -179,8 +179,7 @@ late_lint_methods!(
// Keeps a global list of foreign declarations.
ClashingExternDeclarations: ClashingExternDeclarations::new(),
]
],
['tcx]
]
);
late_lint_methods!(
@@ -229,8 +228,7 @@ late_lint_methods!(
NamedAsmLabels: NamedAsmLabels,
OpaqueHiddenInferredBound: OpaqueHiddenInferredBound,
]
],
['tcx]
]
);
pub fn new_lint_store(internal_lints: bool) -> LintStore {