summaryrefslogblamecommitdiff
path: root/test/files/neg/t2462b.check
blob: b3b8007a93a28e971434dd38b44436eba6bd86ab (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                        


                                                                                                                         
                                                                                         


                                                                                                                   
                                                          

                  
t2462b.scala:6: warning: Invalid implicitNotFound message for trait Meh in package test:
The type parameters Too, Elem referenced in the message of the @implicitNotFound annotation are not defined by trait Meh.
trait Meh[-From, +To]
      ^
t2462b.scala:9: warning: Invalid implicitNotFound message for trait Meh2 in package test:
The type parameter Elem referenced in the message of the @implicitNotFound annotation is not defined by trait Meh2.
trait Meh2[-From, +To]
      ^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found