futures: tests/ready_queue.rs: Don't break w/o "executor"
Symbols/Imports pushed down / localised
Tests gated with cfg()
Tests now build and pass with all valid feature combinations
See previous commits for details and rationale
+#[cfg(feature = "executor")] // executor::
+#[test]
+fn lots() {
use futures::executor::block_on;
use futures::future::{self, FutureExt, BoxFuture};
use std::sync::mpsc;
use std::thread;
-#[test]
-fn lots() {
fn do_it(input: (i32, i32)) -> BoxFuture<'static, i32> {
let (n, x) = input;
if n == 0 {
