Remove $hir argument from late_lint_methods!.
Because it's always `'tcx`.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user