Skip to content

Commit bd4adf5

Browse files
committed
More clear implicitNotFound error for ExecutionContext
1 parent 1f2cd7e commit bd4adf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/concurrent/ExecutionContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import scala.util.Try
1616
/**
1717
* An `ExecutionContext` is an abstraction over an entity that can execute program logic.
1818
*/
19-
@implicitNotFound("Cannot find an implicit ExecutionContext, either require one yourself or import ExecutionContext.Implicits.global")
19+
@implicitNotFound("Cannot find an implicit ExecutionContext, either import scala.concurrent.ExecutionContext.Implicits.global or use a custom one")
2020
trait ExecutionContext {
2121

2222
/** Runs a block of code on this execution context.

0 commit comments

Comments
 (0)