summaryrefslogblamecommitdiff
path: root/test/files/neg/t8291.scala
blob: b344586a56bcb9d90203fc9fc6f73878af1d3dfb (plain) (tree)
1
2
3
4
5
6
7






                                                                                            
@scala.annotation.implicitNotFound("Could not find implicit for ${T} or ${U}") trait X[T, U]

object Test {
  type Z[U] = X[Int, U]
  implicitly[X[Int, String]]
  implicitly[Z[String]]
}