2 #![allow(unused_must_use)]
5 // pretty-expanded FIXME #23616
7 use std::sync::mpsc::{channel, Sender};
9 // tests that ctrl's type gets inferred properly
10 struct Command<K, V> {
15 fn cache_server<K:Send+'static,V:Send+'static>(mut tx: Sender<Sender<Command<K, V>>>) {
16 let (tx1, _rx) = channel();