Skip to content

Commit

Permalink
More clear implicitNotFound error for ExecutionContext
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Jan 8, 2014
1 parent 1f2cd7e commit bd4adf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/concurrent/ExecutionContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bd4adf5

Please sign in to comment.