executor: move current-thread into crate (#1447)

The `CurrentThread` executor is exposed using a feature flag.

Refs: #1264
This commit is contained in:
Carl Lerche
2019-08-15 09:52:25 -07:00
committed by GitHub
parent 8d55f98f6f
commit 9de7083be8
25 changed files with 110 additions and 174 deletions
@@ -0,0 +1,7 @@
error[E0432]: unresolved import `ui_tests::tokio_executor::current_thread`
--> $DIR/executor_without_current_thread.rs:1:5
|
1 | use ui_tests::tokio_executor::current_thread;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `current_thread` in `tokio_executor`
For more information about this error, try `rustc --explain E0432`.