Skip to content

Commit ff99c2e

Browse files
committed
remove @implicitNotFound on Ordering
since it doesn't add any information that is actually specific to the `Ordering` type; and to prevent the message from also being used for `Numeric` (a subtype of `Ordering`) fixes scala/bug#13053
1 parent 03b265b commit ff99c2e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/src/scala/math/Ordering.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ import scala.annotation.migration
6969
*
7070
* @see [[scala.math.Ordered]], [[scala.util.Sorting]], [[scala.math.Ordering.Implicits]]
7171
*/
72-
@annotation.implicitNotFound(msg = "No implicit Ordering defined for ${T}.")
7372
trait Ordering[T] extends Comparator[T] with PartialOrdering[T] with Serializable {
7473
outer =>
7574

0 commit comments

Comments
 (0)