summaryrefslogtreecommitdiff
path: root/test/files/neg/t2462b.scala
blob: 576db4bd3f333f239db06a240f7360c8a44d1fb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
package test

import scala.annotation.implicitNotFound

@implicitNotFound(msg = "Cannot construct a collection of type ${Too} with elements of type ${Elem} based on a collection of type ${From}.")
trait Meh[-From, +To]

@implicitNotFound(msg = "Cannot construct a collection of type ${To} ${Elem}.")
trait Meh2[-From, +To]