summaryrefslogtreecommitdiff
path: root/test/files/neg/implicit-ambiguous-invalid.check
blob: 68b607c4c28dbd25c07f1f702f2ae60227ca0720 (plain) (blame)
1
2
3
4
5
6
7
implicit-ambiguous-invalid.scala:5: warning: Invalid implicitAmbiguous message for method neqAmbig1 in object Test:
The type parameter B referenced in the message of the @implicitAmbiguous annotation is not defined by method neqAmbig1.
  implicit def neqAmbig1[A] : A =!= A = null
               ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found