We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3492fed commit 869774bCopy full SHA for 869774b
scalafix-rules/src/main/scala/scalafix/internal/rule/RemoveUnused.scala
@@ -53,7 +53,8 @@ class RemoveUnused(config: RemoveUnusedConfig)
53
val isUnusedImport = mutable.Set.empty[Position]
54
val isUnusedPattern = mutable.Set.empty[Position]
55
56
- val unusedPatterExpr = raw"^pattern var .* in (value|method) .* is never used".r
+ val unusedPatterExpr =
57
+ raw"^pattern var .* in (value|method) .* is never used".r
58
59
doc.diagnostics.foreach { diagnostic =>
60
if (config.imports && diagnostic.message == "Unused import") {
0 commit comments