Skip to content

Instantly share code, notes, and snippets.

@sebglazebrook
Created July 19, 2015 13:44
Show Gist options
  • Save sebglazebrook/0ff157645d26a69453a7 to your computer and use it in GitHub Desktop.
Save sebglazebrook/0ff157645d26a69453a7 to your computer and use it in GitHub Desktop.
use std::sync::{Arc, Mutex};
use std::sync::mpsc::*;
fn main() {
let (tx, rx):(Sender<_>, Receiver<_>) = channel();
}
src/main.rs:21:18: 21:42 error: unable to infer enough type information about `_`; type annotations or generic parameter binding required [E0282]
src/main.rs:21 let (tx, rx):(Sender<_>, Receiver<_>) = channel(); //???????
^~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment