1 error[E0282]: type annotations needed for `(std::sync::mpsc::Sender<Foo<_>>, std::sync::mpsc::Receiver<Foo<_>>)`
2 --> $DIR/issue-25368.rs:11:17
4 LL | let (tx, rx) = channel();
5 | -------- consider giving the pattern a type
7 LL | tx.send(Foo{ foo: PhantomData });
8 | ^^^ cannot infer type for `T`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0282`.