diff --git a/modules/core/shared/src/main/scala-3.0+/eu/timepit/refined/internal/WitnessAs.scala b/modules/core/shared/src/main/scala-3.0+/eu/timepit/refined/internal/WitnessAs.scala index 39dfc0a04..c493042d6 100644 --- a/modules/core/shared/src/main/scala-3.0+/eu/timepit/refined/internal/WitnessAs.scala +++ b/modules/core/shared/src/main/scala-3.0+/eu/timepit/refined/internal/WitnessAs.scala @@ -27,7 +27,8 @@ final case class WitnessAs[A, B](fst: A, snd: B) object WitnessAs extends WitnessAs1 { def apply[A, B](implicit ev: WitnessAs[A, B]): WitnessAs[A, B] = ev - implicit def intWitnessAs[B, A <: Int](implicit + @deprecated("Use one of the specialized instances of intWitnessAs*", "0.11.3") + def intWitnessAs[B, A <: Int](implicit wa: ValueOf[A], ta: ToInt[A], nb: Numeric[B]