Permalink
Browse files

More clear implicitNotFound error for ExecutionContext

  • Loading branch information...
jamesward committed Oct 24, 2013
1 parent 1f2cd7e commit bd4adf5c97bdebca47923a919c07f4363838be83
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/library/scala/concurrent/ExecutionContext.scala
@@ -16,7 +16,7 @@ import scala.util.Try
/**
* An `ExecutionContext` is an abstraction over an entity that can execute program logic.
*/
-@implicitNotFound("Cannot find an implicit ExecutionContext, either require one yourself or import ExecutionContext.Implicits.global")
+@implicitNotFound("Cannot find an implicit ExecutionContext, either import scala.concurrent.ExecutionContext.Implicits.global or use a custom one")
trait ExecutionContext {
/** Runs a block of code on this execution context.

0 comments on commit bd4adf5

Please sign in to comment.