Add support for deferred casting for the invalid_reference_casting lint

This commit is contained in:
Urgau
2023-07-14 22:10:14 +02:00
parent 345d6b816b
commit f3dafe91ff
6 changed files with 83 additions and 35 deletions

View File

@@ -218,7 +218,7 @@ late_lint_methods!(
BoxPointers: BoxPointers,
PathStatements: PathStatements,
LetUnderscore: LetUnderscore,
InvalidReferenceCasting: InvalidReferenceCasting,
InvalidReferenceCasting: InvalidReferenceCasting::default(),
// Depends on referenced function signatures in expressions
UnusedResults: UnusedResults,
NonUpperCaseGlobals: NonUpperCaseGlobals,