Skip to content

Commit e724a28

Browse files
committed
Remove unused pattern var.
1 parent 3b51655 commit e724a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala-3/bl/DisableToStringPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class DisableToStringPlugin extends StandardPlugin with BaseDisableToStringPlugi
126126
super.transformTree(t, start)
127127

128128
// Disallow string concatenation of disabled types
129-
case t @ Apply(Select(lhs @ StringOrShownType(_), plus @ TermName("+" | "$plus")), rhss) =>
129+
case t @ Apply(Select(lhs @ StringOrShownType(_), TermName("+" | "$plus")), rhss) =>
130130
rhss.collect {
131131
case t @ DisabledType(tpe) =>
132132
report.warning(

0 commit comments

Comments
 (0)