diff --git a/Source/SwiftLintBuiltInRules/Rules/Lint/UnusedClosureParameterRule.swift b/Source/SwiftLintBuiltInRules/Rules/Lint/UnusedClosureParameterRule.swift index 14f1f19332..fb4f701a68 100644 --- a/Source/SwiftLintBuiltInRules/Rules/Lint/UnusedClosureParameterRule.swift +++ b/Source/SwiftLintBuiltInRules/Rules/Lint/UnusedClosureParameterRule.swift @@ -1,4 +1,4 @@ -@preconcurrency import SwiftSyntax +import SwiftSyntax import SwiftSyntaxBuilder @SwiftSyntaxRule(explicitRewriter: true) diff --git a/tools/add-preconcurrency-imports.sh b/tools/add-preconcurrency-imports.sh index acef5af261..e65de3a03c 100755 --- a/tools/add-preconcurrency-imports.sh +++ b/tools/add-preconcurrency-imports.sh @@ -3,6 +3,7 @@ files=( "Source/SwiftLintBuiltInRules/Rules/Idiomatic/PrivateOverFilePrivateRule.swift" "Source/SwiftLintBuiltInRules/Rules/Idiomatic/ToggleBoolRule.swift" +"Source/SwiftLintBuiltInRules/Rules/Lint/UnusedClosureParameterRule.swift" "Source/SwiftLintBuiltInRules/Rules/Style/EmptyEnumArgumentsRule.swift" "Source/SwiftLintBuiltInRules/Rules/Style/OptionalEnumCaseMatchingRule.swift" "Source/SwiftLintBuiltInRules/Rules/Style/TrailingCommaRule.swift"