Skip to content

Commit 34dd3cf

Browse files
committed
Fix compilation for Scala 3
1 parent b21526a commit 34dd3cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/src/test/scala/mouse/OptionSyntaxTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import scala.annotation.nowarn
2626
import scala.util.{Failure, Success}
2727

2828
class OptionSyntaxTest extends MouseSuite {
29-
implicit class ExtraTest[A](a: A) {
29+
implicit class ExtraTest[A](@nowarn3 a: A) {
3030
def shouldBeA[T](implicit @nowarn212 ev: T =:= A): Unit = ()
3131
}
3232

0 commit comments

Comments
 (0)